积极答复者
怎樣在SQLServer2000中調用Oracle的存儲過程

问题
答案
-
SELECT *
FROM OPENQUERY(OracleSvr, 'SELECT name, id FROM joe.titles')
GO
---
SELECT *
FROM OPENQUERY(OracleSvr, 'begin 模式名.proc_name(参数); end; ')
GO
链接SQL Server的链接服务器可以直接:
SELECT *
FROM OPENQUERY(OracleSvr, 'exec proc_name ')
GO
希望对你有帮助
More: blog.csdn.net/happyflystone- 已建议为答案 Sun weiMicrosoft employee 2009年11月18日 2:29
- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月18日 6:00
全部回复
-
我這邊有個需求,需要在SQLServer 2000 中調用Oracle中的存儲過程, 請問是否可以實現 ? 實現方式是?
If you haven't all the things you want,be grateful for the things you don't have that you didn't want.
EXEC sp_addlinkedserver 'OracleSvr',
'Oracle 7.3',
'MSDAORA',
'ORCLDB'
GO
SELECT *
FROM OPENQUERY(OracleSvr, 'SELECT name, id FROM joe.titles')
GO
More: blog.csdn.net/happyflystone -
我這邊有個需求,需要在SQLServer 2000 中調用Oracle中的存儲過程, 請問是否可以實現 ? 實現方式是?
If you haven't all the things you want,be grateful for the things you don't have that you didn't want.
EXEC sp_addlinkedserver 'OracleSvr',
'Oracle 7.3',
'MSDAORA',
'ORCLDB'
GO
SELECT *
FROM OPENQUERY(OracleSvr, 'SELECT name, id FROM joe.titles')
GO
More: blog.csdn.net/happyflystone
你這個是直接執行語句,我知道這格式。
我想問的是 怎麼在SQLServer2000中執行Oracle的存儲過程?
If you haven't all the things you want,be grateful for the things you don't have that you didn't want. -
SELECT *
FROM OPENQUERY(OracleSvr, 'SELECT name, id FROM joe.titles')
GO
---
SELECT *
FROM OPENQUERY(OracleSvr, 'begin 模式名.proc_name(参数); end; ')
GO
链接SQL Server的链接服务器可以直接:
SELECT *
FROM OPENQUERY(OracleSvr, 'exec proc_name ')
GO
希望对你有帮助
More: blog.csdn.net/happyflystone- 已建议为答案 Sun weiMicrosoft employee 2009年11月18日 2:29
- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月18日 6:00