Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Openquery in SP to call oracle's procedure

Author  Topic 

yipchunyu
Yak Posting Veteran

80 Posts

Posted - 2007-12-29 : 01:00:29
Hi all,
I would like to create SP in SQL 2000 that call a procedure in Oracle.
Must the oracle's procedure return a recordset? Or it can just return some output parameters?
Any sample to do so? Both the open query statement (which pass a parameter to the oracle's procedure) and a sample of oracle's procedure

Thx a lot

georgev
Posting Yak Master

122 Posts

Posted - 2007-12-29 : 19:54:54
In SQL Server 2000..?

Then why post in the clearly labelled 2005 forums? ;)


George
<3Engaged!
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-12-29 : 21:41:51
Try this:

exec (proc_name) at linked_server_name
Go to Top of Page
   

- Advertisement -