Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute oracle stored procedure via linked server

Status
Not open for further replies.

Thargy

Technical User
Nov 15, 2005
1,348
GB
I am using 2000, and have created a linked server connection from sql server to oracle 10g2 and can execute stored procedures using the OPENQUERY method, and get results back.

However, I want to execute a stored procedure which returns no records. Having searched via google (and within Tek Tips) I have found two articles which say that to simply execute a stored procedure is impossible. One work around is to return a dummy value (or values) and the other is to insert a record into a dummy table in oracle, and then rely on an Oracle "AFTER INSERT" trigger to invoke the stored procedure.

Books online goes nowhere near this level of detail, so I can't easily tell if this is correct.

Can someone provide me with a reference to authoritative documentation which can state beyond all doubt whether or not what I am trying to achieve is possible?

If it is impossible, can anyone advise to what version of sql server I would have to upgrade, so that it does become possible?

Regards

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top