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.
| Author |
Topic |
|
chris_t
Starting Member
6 Posts |
Posted - 2004-06-25 : 05:53:03
|
| This is a problem I often come across:I have 2 foreign keys within one table both referencing the same table - what do you name each of the two foreign keys?For example you have two types of user you want to associate to each record in a table, and all the users are stored within the one table.Thanks |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-06-25 : 06:33:19
|
| Something descriptive?ContactUser_idOwnerUser_idA better option is to have another table for the linktbl1_usersuser_id, typethis allows you to link more user types without changing the structure.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|