BUG: Adding constraints through SEM sometimes unbind default o (153112)
The information in this article applies to:
This article was previously published under Q153112 SYMPTOMS
If 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.
WORKAROUND
Use T-SQL script instead of SEM to add constraint.
STATUS
Microsoft 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.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbBug KB153112 |
---|
|