SELECT *
FROM OPENROWSET(
'SQLNCLI',
'xxx';'sa';'xxx'
,'select * from test.dbo.a') as a
SELECT *
FROM OPENDATASOURCE(
'SQLOLEDB',
'DataSorce=xxx; user id=sa; password=xxx'
).test.dbo.a
FROM OPENROWSET(
'SQLNCLI',
'xxx';'sa';'xxx'
,'select * from test.dbo.a') as a
SELECT *
FROM OPENDATASOURCE(
'SQLOLEDB',
'DataSorce=xxx; user id=sa; password=xxx'
).test.dbo.a