This is how you query against a linked named instance of sql server.
sp_addlinkedserver 'servername\instanceName' --create the link.
select * from [servername\instanceName].databaseName.dbo.TableName --execute the query.
Tuesday, April 22, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment