BUG: Adding constraints through SEM sometimes unbind default oLast reviewed: April 8, 1997Article ID: Q153112 |
The information in this article applies to:
SYMPTOMSIf you create a table in which at least one of the columns uses user- defined datatype, and the user-defined datatype is bound to a default, the first time you use SQL Enterprise Manager (SEM) to add constraint to this table the default unbinds. SQL Trace shows sp_unbindefault is being called right before 'Alter table .. add constraint'. If you bind the default again explicitly, subsequent attempts to add constraints through SEM will not unbind the default again.
WORKAROUNDUse T-SQL script instead of SEM to add constraint.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |