Click here to Skip to main content
15,891,943 members

Comments by MarcoBot (Top 3 by date)

MarcoBot 9-Mar-11 9:06am View    
Deleted
Ah, so you're agglomerating multiple rows into a single string. Thanks, that's the part that I was missing.
MarcoBot 8-Mar-11 13:45pm View    
Deleted
First, the + operator can concatenate strings in T-SQL. But my original comment was referring to the top of the thread, where he used:

<pre>
SELECT ProductName + ','
FROM Northwind.dbo.Products
FOR XML PATH('');
</pre>

And I was wondering (basically) why he was using the 'FOR XML PATH('')' clause. And the + operator can concatenate two strings.
MarcoBot 8-Mar-11 11:42am View    
Deleted
No, I'm using T-SQL which doesn't have +=. I just ran the query and then cut & pasted it into the comment.