In the stored procedure, I want SELECT * from @AA
That is to say, I want to pass this table, I don't know if it's okay! thank
If you don't know how the syntax is Declare @AA VARCHAR (100) Declare @SQL VARCHAR (1000
Set @ aa = 'TB_NAME'SET @ SQL =' SELECCCT * from ' @ aaexec (@SQL)