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
 General SQL Server Forums
 Database Design and Application Architecture
 Changing Field for Unique Key Index

Author  Topic 

tincupal
Starting Member

24 Posts

Posted - 2007-10-18 : 17:37:43
SQL 2000 Enterprise Manager won’t let me drop a unique key index and move it to another field. I get an error regarding ‘drop index not allowed because of unique key constraint enforcement.

Is there anyway to change fields for unique keys in SQL Enterprise Manager?

Thanks, Al

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-10-18 : 19:57:17
what are you trying to do? Chakge PK from field1 to field2?

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

tincupal
Starting Member

24 Posts

Posted - 2007-10-19 : 09:09:02
yes, I'm trying to change the primary key from field1 to field2.
Go to Top of Page

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-10-19 : 12:33:58
looks like you got your answer here: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=91290

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

tincupal
Starting Member

24 Posts

Posted - 2007-10-19 : 13:23:16
YES, thanks very much. Boy, am I glad I found this site.
Go to Top of Page
   

- Advertisement -