Home Forums SQL Server 7,2000 T-SQL Must declare the variable ... RE: Must declare the variable ...
Roust_m
SSCoach
Points: 17402
More actions
May 8, 2003 at 7:43 am
#456528
I found this out:
'INSERT INTO ##all_logins SELECT name,'''+ @server_name +''' FROM ' + @sys_table )