Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Failed to enable constraints
Message
 
 
To
15/03/2008 14:02:43
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01302408
Message ID:
01302438
Views:
8
>I have a SQL command that I cannot execute from my application. The message is:
>
>"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."
>
>However, if I execute that SQL from SSMS, it works.
>
>So, I would like to know what it means exactly and why is it working from the SSMS environment?

Perhaps one of the settings is different such as SET ANSI_WARNINGS or ANSI_NULLS or ANSI_NULL_DEFAULT
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform