How to use OPENROWSET instead of a Linked Server in SQL Server
Date: 16/07/2014
Categories: SQL Server
--Use OPENROWSET with SQL Server Authentication select a.* from openrowset( 'SQLOLEDB' ,'SERVER=REMOTE_SERVER;DATABASE=dbname;UID=user;PWD=password' ,'select * from [dbname].[dbo].[table]') as a
Leave a Reply