• Try executing:

    SET QUOTED_IDENTIFIER ON

    GO

    first.

    Apparently, the author assumed this setting was already on, though it is not normally on and a bad practice in any event, IMHO.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]