devxlogo

Calling Stored Procedures

Calling Stored Procedures

Question:
Can one call a stored procedure or function in oracle 7through odbc from visual basic? This might be a questionfor an oracle user group, so if you know where I shouldask 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.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist