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 |
|
ranganath
Posting Yak Master
209 Posts |
Posted - 2007-09-22 : 03:42:49
|
| HiIam working on Sqlserver2000.I have a problem Iam getting data with comma concatination. which is more than 8000bytes.but sql2000 varchar Max(8000).so how to get Data more than 8000 bytesplz help me. |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-09-22 : 03:45:54
|
Are you trying to concatenate data from multiple rows to form a single comma-delimited value?e.g.DECLARE @strResult varchar(8000)SELECT @strResult = COALESCE(@strResult+',', '') + MyColumnFROM MyTableSELECT [Result] = @strResult Kristen |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-09-22 : 22:47:02
|
| Use text data type. |
 |
|
|
|
|
|