Thanks, I corrected the syntax on the @ code, and it is working now.
Dan Guzman wrote:
> > I see that you are a bit loose about this but it's a good practice to
> > always enclose literals in single quotes.
>
> To clarify, I mean enclose *character* literals in single quotes.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP