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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-17 : 21:23:31
|
| Sira writes "Data gets truncated if data is more than the rowsize...ex. data gets truncated if column/query is 256 or if the total row size is 9000 instead of 8060. Rows that exceed the maximum # of bytes will not be added. How can you tell if this is happening for certain columns since no warning is given?" |
|
|
Nazim
A custom title
1408 Posts |
Posted - 2002-04-18 : 02:11:44
|
| AFAIK the data isnt truncated but the whole row is rejected .check the len of the row you are trying to add.if len(ltrim(rtrim(@col1))+ltrim(rtrim(@col2))+ltrim(rtrim(@col13)+ltrim(rtrim(@col4))+ltrim(rtrim(@col5))) > 8060 print 'Error'HTH-------------------------------------------------------------- |
 |
|
|
|
|
|