|   | ![]() |
|
How do I drop the index related
to a primary key? DROP INDEX doesn't work.. Because the index is built as part of a constraint, the way to drop it is to drop the constraint :- ALTER TABLE <tablename> DROP CONSTRAINT .... |
All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.