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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exec Oracle SP from SQL Server

Status
Not open for further replies.

InsaneProgrammer

Programmer
Jan 17, 2001
44
US
I am trying to execute a stored procedure in my Oracle Database from within my SQL Database. I have linked the SQL Server to my Oracle Server. The select statement I have below works.

select * from openquery(OrclSvr, 'select * from pa_projects')

But when I try to execute the stored procedure below I get an error.

select * from openquery(OrclSvr, 'execute fnd_client_info.set_org_context(0)')

The error message I get is below.

Server: Msg 7357, Level 16, State 2, Line 1
Could not process object 'execute fnd_client_info.set_org_context(0)'. The OLE DB provider 'MSDAORA' indicates that the object has no columns.

The stored procedure executes fine from within SQL*Plus. Any ideas/suggestions would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top