Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Hello,I have three tables:User, Profile and Professor.User contains membership information on the user like username, password, lastlogin, etc.Profile contains personal information on the user like name, birthday, city, district, etc.Professor contains information on the User in case of a Professor. If the user is not a Professor then it will be empty.I think I should create a One to One relationship between the three tables on the following order:User > Profile > ProfessorDoes this make any sense?And how should I create this?Thanks,Miguel
russell
Pyro-ma-ni-yak
5072 Posts
Posted - 2009-08-09 : 23:42:28
sounds like every user should have a record in profile. professor should have userID as a FK to user.