Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Truncation Error

Author  Topic 

Skydolphin
Starting Member

43 Posts

Posted - 2004-10-21 : 16:26:09
How do I fix this error? I changed my field to Text (16) and still getting an error.

Rhonda

System.Data.SqlClient.SqlException: String or binary data would be truncated. The statement has been terminated. at
System.Data.SqlClient.ExecuteNonQuery() at...

Rhonda

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-10-21 : 16:34:53
Your data can not fit into your column. You need to expand the column or shrink the data.

Tara
Go to Top of Page

Skydolphin
Starting Member

43 Posts

Posted - 2004-10-21 : 17:19:52
Actually what was happening is tab characters were being put into the text string.

Rhonda

Rhonda
Go to Top of Page
   

- Advertisement -