Viewing post 1 (of 2 total)
you will have to executed the command with EXECUTED()
declare @name_table1
select * from @name_table1
EXEC ('select * from ' + @name_table1
)
Felix
May 21, 2002 at 8:39 am
#429531