Hi,
I'm trying to insert a carriage return into the following string function but it still returns all the records on the same line:
SELECT @str = COALESCE(@str + char(13),'')
+ '$'
+ CAST ( t2.stotalAmount AS VARCHAR)
+ ' for '
+ CAST( rtrim(t2.snotes) AS VARCHAR)
Any help would be much appreciated.
Thanks
I'm trying to insert a carriage return into the following string function but it still returns all the records on the same line:
SELECT @str = COALESCE(@str + char(13),'')
+ '$'
+ CAST ( t2.stotalAmount AS VARCHAR)
+ ' for '
+ CAST( rtrim(t2.snotes) AS VARCHAR)
Any help would be much appreciated.
Thanks