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 > Delphi, C etc > Passing ADO Recordset to Oracle stored procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-04, 15:27
learning_4_ever learning_4_ever is offline
Registered User
 
Join Date: Feb 2004
Location: New York, U S A
Posts: 1
Passing ADO Recordset to Oracle stored procedure

hi,
Can we pass a recordset from a VB application to a Stored Procedure
written in Oralce. If any one has any idea about this please respond.
I am using ADO 2.7, VB6 and Oracle 9i.
Thank you in advance

Mike
Reply With Quote
  #2 (permalink)  
Old 02-10-04, 11:02
accarvajal accarvajal is offline
Registered User
 
Join Date: Feb 2004
Location: Cali - Colombia
Posts: 16
Hi!

I have some experience using Oracle 9i and Programming Visual Basic 6.0 and Visual C++. Recordset its a set o records that is involved with database in 2 ways. DAO and ADO. ADO, I recommend you make connections via ODBC or OLE DB. Oracle install both of them. By those ways you should use SQL instructions into your program. According you want oracle provides procedures, functions and packages. I highly recommend use packages, because they are useful when you need to returns data cursors to the program.

For stored procedures call sintax, use this:

CALL [package_name.]stored_procedure_name ([parameters])

[] = optionals values.
parameters = They are the data you send from your program to the database

If you are using OLE provider, you can use Stored procedure property when you are creating a connection.

I hope help u


Aldemar
__________________
A.C.C.
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