Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: Concatenation Cursor

    Thanks Clive,

    Here's an example of what I'm talking about...

    DECLARE @List nvarchar(max)

    SELECT @List = IsNull(@List + ', ', '') + QuoteName(name)

    FROM sys.objects

    --Uncommenting the following line will return only one list item...

    --ORDER...

  • RE: Concatenation Cursor

    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...

  • RE: Why Is It Complicated?

    Really glad you raised this one Steve. Let's face it we spend most of our time trying to prevent the disaster scenario in the first place. At the...

Viewing 3 posts - 1 through 3 (of 3 total)