?
Solved

An explicit DROP INDEX is not allowed on index

Posted on 2010-08-13
2
Medium Priority
?
819 Views
Last Modified: 2012-05-10
I need to remove the PK, but the drop gives error. There should be a way to remove the PK, not?
"
An explicit DROP INDEX is not allowed on index 'dbo.tblTracker.UniqTracker'. It is being used for PRIMARY KEY constraint enforcement.
"
0
Comment
Question by:anushahanna
2 Comments
 
LVL 58

Accepted Solution

by:
cyberkiwi earned 2000 total points
ID: 33432825
To remove a PK, it's usually..

alter table tbl drop constraint pk_name
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33432929
Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question