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.
use Partitions in your database. for more info see SQL BOL.
visakh16
Very Important crosS Applying yaK Herder
52326 Posts
Posted - 2009-05-13 : 10:01:01
quote:Originally posted by Sun Foster How to add two primary keys in two columns?In my table, only allow me to add one primary key in on column.
can i ask why you want multiple primary keys?
Sun Foster
Aged Yak Warrior
515 Posts
Posted - 2009-05-13 : 11:18:29
I just want to copy a table in another app which we bought.
visakh16
Very Important crosS Applying yaK Herder
52326 Posts
Posted - 2009-05-13 : 11:23:13
so? whats the need of two primary keys there? you need a single pk there. if your effort is to ensure pk field of first table still has only unique values, why dont create a unique constraint on it?