The information in this article applies to:
SYMPTOMS
When you attempt to run the stored procedure sp_dropkey on a computer
running SQL Server 6.0 or later, you receive either of the following syntax
errors:
-or-
CAUSEWith the introduction of Declarative Referential Integrity (DRI) in SQL Server 6.0, 'primary' and 'foreign' became keywords. Therefore, using either of them in sp_dropkey does not comply with their correct usage under SQL Server version 6.0 or later. WORKAROUND
To work around this problem, enclose the keywords 'primary' or 'foreign' in
quotes, as shown in the following examples:
Keywords : kbusage SSrvDRI |
Last Reviewed: April 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |