Register   |   Login   |   February 08, 2012    |   Knowledge Base  >  Knowledge Base Systems  >  MSSQL  >  string or binary data would be trunc.
search:     

Phone: 480-722-1227
Toll Free: 888-722-1227

string or binary data would be trunc.
Last Post 05 Oct 2007 11:33 PM by Chris Muench. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Chris MuenchUser is Offline
New Member
New Member
Posts:57

--
05 Oct 2007 11: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.

Active Forums 4.2
Copyright 2006 - 2011 Vigilant Support   |  Privacy Statement  |  Terms Of Use