all groups > sql server (alternate) > august 2004 >
You're in the

sql server (alternate)

group:

call a Oracle stored proc in SQL SERVER



call a Oracle stored proc in SQL SERVER vanishri16 NO[at]SPAM yahoo.com
8/30/2004 10:10:09 AM
sql server (alternate): We have set up Oracle database as a linked server in SQL Server.
We are able to access Oracle tables fine.

I am trying to call a Oracle stored procedure in SQL Server as follows:
declare @p1 varchar(1000)
set @p1 = 'HHH'
exec GENRET..OPS$GENRET.BOB_TEST_PROC @p1

This is the message:
Server 'GENRET' is not configured for RPC.

Please help.
Thanks in advance
Re: call a Oracle stored proc in SQL SERVER Erland Sommarskog
8/30/2004 9:46:36 PM
v (vanishri16@yahoo.com) writes:
[quoted text, click to view]

exec sp_serveroption GENRET, 'rpc', true
exec sp_serveroption GENRET, 'rpc out', true

may be a start.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
AddThis Social Bookmark Button