Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing constraints
Message
 
 
To
25/03/2011 11:05:59
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01504936
Message ID:
01504993
Views:
27
>>May be there are some test tables in that database.
>>
>>The simple way to check if the problem is in the table names
>>
>>select Table_Name from Information_Schema.Columns -- for this database
>>
>>see if there is something odd here
>>
>>Then check the same for constraints.
>
>Yes, I was able to simulate it on a table name which is a reserved name on the test server. Then, with the [] characters, it worked.

Add quotename for the constraint name as well. I always use quotename in my code.
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