If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Problem calling Oracle SP from Access 97

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-02, 07:57
darris darris is offline
Registered User
 
Join Date: Dec 2002
Location: Brighton, uk
Posts: 1
Problem calling Oracle SP from Access 97

I am having problems calling an Oracle Stored Procedure from an Access 97 database. The SP is called FIRST_TREATMENT which is in a schema called CCMGR, and accepts 2 parameters. I have used the following code directly into Oracle, which works fine:

BEGIN
CCMGR.FIRST_TREATMENT ( 'RGU00/00481', NULL );
END;


However, I can't seem to call the SP from Access 97 ina pass through query. I have tried the following, with no success:

EXEC CCMGR.FIRST_TREATMENT ( 'RGU00/00481', NULL );

or

EXECUTE CCMGR.FIRST_TREATMENT ( 'RGU00/00481', NULL );

or

{
CALL CCMGR.FIRST_TREATMENT ( 'RGU00/00481', NULL );
}

or

{call ?=CCMGR.FIRST_TREATMENT ( 'RGU00/00481', NULL )}

ANY HELP ON THIS WOULD BE GRATELY APPRECIATED.

Thank you

Simon
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On