Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String or binary data would be truncated
Message
 
 
À
10/03/2008 17:37:50
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01300693
Message ID:
01300698
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>SQL Server is very smart. If we pass a string that is too long for a field, in a SQL insert command for example, it will generate an error "String or binary data would be truncated." Is there a setting that controls that? I will adjust the code for that but I was wondering if there was something that could be a factor here.

See SET ANSI_WARNINGS
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform