Calling Oracle Procedures from MS Access 97 and 2000

D

DanL

I need to call an Oracle 9i stored procedure from a MS
Access 97 or MS Access 2000 database. I could convert the
stored procedure to a function is this results in an
easier implementation.

I already link to Oracle 9i tables via ODBC drivers.

Any thoughts,

Thanks
 
A

Anne Nolan

DanL said:
I need to call an Oracle 9i stored procedure from a MS
Access 97 or MS Access 2000 database. I could convert the
stored procedure to a function is this results in an
easier implementation.

I already link to Oracle 9i tables via ODBC drivers.

Any thoughts,

Thanks

This has worked for us, with Oracle 8i:

Create a pass-through query in Access.

If your stored proc is a procedure, put something like this in the SQL
for the query (complete with the curly brackets):
{call MyProc('mystring')}

If it's a function (returns a value), use something like this (no
brackets):

select MyProc('mystring') from dual;

Hope this helps,

Anne Nolan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top