Home Forums SQL Server 2005 T-SQL (SS2K5) variable columns in select statements? RE: variable columns in select statements?
sgmunson
SSC Guru
Points: 110639
More actions
July 10, 2008 at 2:16 pm
#841103
If I recall correctly, the EXECUTE statement needs the @s-2 to appear in parentheses, as follows:
EXECUTE (@s);
Steve
(aka smunson)
:):):)
Steve (aka sgmunson) 🙂 🙂 🙂Rent Servers for Income (picks and shovels strategy)