Hi,
I want to form a string out of a column for all records satisfying a particular criteria, this string is to be put into a file.
declare @X24Text varchar(8000)
Select @X24Text = @X24Text + col1
FROM table1 where col2 = '100'
The problem is that the concatenated string size can be more than 8kb. How do I deal with this problem ?
I have defined this as a step in dts, so if there are any alternatives in dts are also welcome.
Thanks in Advance