SQL Server 2005 连接Oracle(Link Server)
时间:2010-12-21 来源:兵临城下_fire
2.配置ODBC數據源
3.
exec sp_addlinkedserver
@server='orcl_link',
@srvproduct='Oracle',
@provider='MSDAORA',
@datasrc='orcl'
4.
exec sp_addlinkedsrvlogin
@rmtsrvname='orcl_link',
@useself='false',
@locallogin='sa',
@rmtuser='adammes',
@rmtpassword='password'
5.
select * from openquery(orcl_link,'select * from adammes.tb01')
相关阅读 更多 +