Hi,
We have a database where no PK constraints are defined and only unique
clustered indexes. Is there a way for us to change all the columns that make
up the unique clustered index in all of the tables in the database to be the
columns that make up the PK constraint of the tables? In other words, we
want to change the clustered indexes to actual PK constraints.
Thanks,
Dee
jason - 01 Mar 2008 01:12 GMT
There is no easy way. You have to drop the CI and then run the alter table
commands. You could use the system catalogs to help generate the commands
though.

Signature
Jason Massie
www: http://statisticsio.com
rss: http://feeds.feedburner.com/statisticsio
> Hi,
>
[quoted text clipped - 8 lines]
> Thanks,
> Dee