连外部数据库执行语句

select * from OPENDATASOURCE('SQLOLEDB','Data Source=ip/DataSource;User ID=username;Password=pws').database.dbo.tablename

posted @ 2017-01-17 14:02  李睿瑞  Views(167)  Comments(0)    收藏  举报