Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving a value from an ORACLE stored procedure

Status
Not open for further replies.

jonnymadill

Programmer
May 19, 2003
7
GB
Hi folks,

I have an ORACLE stored procedure, which accepts two parameters and returns one, I want to pass in two string values from VB6 and retrieve the result date parameter from the stored procedure. At the moment no cursors are involved.

I am connecting to the db using a simple Oracle objects connection.

Any help would be greatly appreciated, I've been going round in circles!

Thanks again,
jonny,
 
Try using ADO as the Connection method, then using the ADO.Command object to execute the SP. The Command object lets you specify parameters, parameter direction, etc. and rettrieve output parameters or just a simple return value. Check back in if you need help with the syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top