Welcome
Login  |  Register
Monday, January 05, 2009
  Search
You are here:Knowledge Base
 
 
 

 Please Register or login to view our private forums, it is free!!

Subject: string or binary data would be trunc.
Prev Next
You are not authorized to post a reply.

Author Messages
cmuenchUser is Offline
Posts:59

10/05/2007 4:33 PM  

If you are getting the following error in MSSQL. String or binary data would be truncated.  Then put the following before your script and it shall run fine.

SET ANSI_WARNINGS OFF

 

You can check the database to see if its on or not by going to the following.

Enterprise Manager -> Right Click the DB -> Properties -> Options.  It will say ANSI warnings to true or false.  True is on false is off.

 

By defualt the db is set for false(off)

You are not authorized to post a reply.
Forums > Knowledge Base Systems > MSSQL > string or binary data would be trunc.



ActiveForums 3.7
 
Copyright 2006-7 Vigilant Support