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 |
|
Apples
Posting Yak Master
146 Posts |
Posted - 2011-04-05 : 19:19:52
|
| I want to create a many-to-many relationship between Stores and ProductsStores--------StoreID (PK)NameProducts--------ProductID (PK)NameStoreProducts--------StoreID (FK)ProductID (FK)In StoreProducts, should StoreID and ProductID be primary keys? If not, do I need to add a primary key field? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
Apples
Posting Yak Master
146 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|