Re: Initiating Oracle stored procedures through ODBC

From: kbarnes <kbarnes_at_iadfw.net>
Date: 1996/04/16
Message-ID: <31732B08.743A_at_iadfw.net>#1/1


richard castorena wrote:
>
> I am currently using MS Access 2.0 to access a Oracle 7.1 database
> using ODBC. I would like to be able to initiate an Oracle stored
> procedure from Access. The only thing I can think of is to use a SQL
> pass-through query to kick it off.
>
> I have tried sending "exec procedure_name" but it always returns
> invalid SQL statement. I guess it is expecting something using a
> Select clause. BTW, I have successfully created other pass-through
> queries so there isn't a problem with the connecting to Oracle.
>
> Any help would be appreciated. Please e-mail me at
> mudhens_at_cyberrramp.net
>
> Thanks, Richard Castorena

If you are trying to duplicate the following from SQL*Plus

execute sp;

Try this

begin sp; end;

This works for us just fine under 7.1 and 7.2

Kevin Received on Tue Apr 16 1996 - 00:00:00 CEST

Original text of this message