Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing constraints
Message
 
 
À
25/03/2011 11:05:59
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01504936
Message ID:
01504993
Vues:
26
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform