Is is possible to set the servername, database and table at runtime and then do a select using that setting? In other words, something like:
declare @r varchar
set @r = "server.databasename.dbo.table"
select * from @r
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.