Problem in callling procedure

  • Hi,

    i have created linked server between my sqlserver2008 and Oracle10g.

    the following query is working fine

    select * from openquery (DCCOM,'select * from sample).

    but if i try to call procedure

    select

    * from openquery(DCCOM, '{CALL scott.get_test({resultset 25, OUTPUT})}');

    it gives an error as "

    Msg 7357, Level 16, State 2, Line 1

    Cannot process the object "{CALL scott.get_test({resultset 25, OUTPUT})}". The OLE DB provider "OraOLEDB.Oracle" for linked server "DCCOM" indicates that either the object has no columns or the current user does not have permissions on that object."

    how to solve this issue. please help me in this

  • It mentions permissions. Your linked server is working, but perhaps that package/module is not one you have rights to call.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply