Help: Calling Oracle SP using OLEDB.net

G

Guest

Hi,

I am trying to call an oracle stored proc using the OLEDB.net provider.

The connection string is and command is dynamic. There are 2 textboxes which
take the parameters as the app is must be able to handle any (almost)
database, works with sql server but with oracle I get an "Invalid SQL
Statement" error.

There is nothing wrong with the procedures syntax. Its been running for
months.

Any ideas? Does an Oracle procedure need to be called differently?

Any help will be GREATLY appreciated.

Regards

Emilio
 
P

Paul Clement

¤ Hi,
¤
¤ I am trying to call an oracle stored proc using the OLEDB.net provider.
¤
¤ The connection string is and command is dynamic. There are 2 textboxes which
¤ take the parameters as the app is must be able to handle any (almost)
¤ database, works with sql server but with oracle I get an "Invalid SQL
¤ Statement" error.
¤
¤ There is nothing wrong with the procedures syntax. Its been running for
¤ months.
¤
¤ Any ideas? Does an Oracle procedure need to be called differently?
¤
¤ Any help will be GREATLY appreciated.
¤
¤ Regards
¤
¤ Emilio

Could you post some code so we can see what you are doing (including the SQL statement)?


Paul
~~~~
Microsoft MVP (Visual Basic)
 

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