Microsoft KB Archive/153112

= BUG: Adding constraints through SEM sometimes unbind default o =

Article ID: 153112

Article Last Modified on 10/3/2003

-

APPLIES TO


 * Microsoft SQL Server 6.5 Standard Edition

-



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.

Keywords: kbbug KB153112

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.