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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Alter primary key

Author  Topic 

wombel
Starting Member

14 Posts

Posted - 2002-07-23 : 05:34:52
Hi,

as primary keys are created clustered by default I now have the problem the I need another index to be clusterd instead of the primary key. Now, how can I alter the primary key in a way, that it just looses the clustered property?

TIA



Thomas Wrobel
Senior IT Manager

smccreadie
Aged Yak Warrior

505 Posts

Posted - 2002-07-23 : 06:01:53
If you go into Enterprise MAnager and do a design view of your table and choose properties then Indexes, you can uncheck the clustered box for that column. Add a new index and cluster that one.

Go to Top of Page

wombel
Starting Member

14 Posts

Posted - 2002-07-23 : 06:36:56
Thanks!
quote:

If you go into Enterprise MAnager and do a design view of your table and choose properties then Indexes, you can uncheck the clustered box for that column. Add a new index and cluster that one.





Thomas Wrobel
Senior IT Manager
Go to Top of Page
   

- Advertisement -