Home Forums Article Discussions Article Discussions by Author Discuss content posted by D Sanborn Concatenation Cursor RE: Concatenation Cursor
nicolasallan
SSC Rookie
Points: 38
More actions
February 25, 2010 at 7:21 am
#1124964
I use this a lot also, but beware of the ORDER BY gotchya. Depending on the complexity of your query you may find that adding an ORDER BY prevents the loop from looping beyond a single record. I believe this is a SQL Server bug..?