Sunday, April 26, 2009

Error 8152: "String or binary data would be truncated"

I was getting the same error in my project.Later I solved this problem when I found that the length of one field in database table was less than the data size i want to store.

One my filed in table was Description length nvarchar(50), But the data I was storing was more than 50.

Then I changed the description field length to nvarchar(1000). It solve my problem.

Hope it will work for u......

No comments:

Post a Comment