SQLServer varchar returning truncated string
Posted: Tue Sep 30, 2008 4:31 am
Hi,
I am reading a varchar(8000) column from MSSQL Server 2000 using SQLServer enterprise Stage. The actual value in the column is 2300 characters. The output from the job is a truncated string of 255 characters followed by char(0) characters. The total character count in the output is 8000. sorry i couldn't paste the string here becoz of char(0).
When i do a substring in the query again only the first 255 chars are ok.
Any suggestions ?
Thanks in advance.
I am reading a varchar(8000) column from MSSQL Server 2000 using SQLServer enterprise Stage. The actual value in the column is 2300 characters. The output from the job is a truncated string of 255 characters followed by char(0) characters. The total character count in the output is 8000. sorry i couldn't paste the string here becoz of char(0).
When i do a substring in the query again only the first 255 chars are ok.
Any suggestions ?
Thanks in advance.