Home Forums SQL Server 2005 T-SQL (SS2K5) Using a variable for a linked server name in stored procedures RE: Using a variable for a linked server name in stored procedures
rdrag
SSC Enthusiast
Points: 143
More actions
December 6, 2012 at 9:28 am
#1566238
I found this post where Microsoft gives the solution... execute the string variable within a string variable. Double your single quotes, double your fun!
http://support.microsoft.com/kb/314520