Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String or binary data would be truncated
Message
 
 
To
10/03/2008 17:37:50
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01300693
Message ID:
01300698
Views:
16
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform