Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Calling Stored Procedures

Question:
Can one call a stored procedure or function in oracle 7 through odbc from visual basic? This might be a question for an oracle user group, so if you know where I should ask the question give me a reply.

Answer:
Stored procedures in Oracle can be executed using the ExecuteSQL method on the database object. However, when I was doing similar things, we ran into problems because cursors don't work right with Oracle and VB...it doesn't hold the cursor open for you between fetches, if I remember right. However, simple SQL statements that return no records worked ok.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date