Solved

Stored Procedures

Posted on 1998-01-23
1
357 Views
Last Modified: 2010-04-04
Is there any way of calling a (Oracle) stored procedure as part of the UpdateSQL queries?  For example, I would like to call a stored proc instead of specifing a "Insert" command for the InsertSQL.  
After a little work, it looks like it works (it executes and is committed to the database), however I get a "Update Failed' exeception generated from the TUpdateSQL.ExecSQL function.  This is because the 'Rows effected' is 0 when returning from a stored proc.  Could I subclass the TUpdateSQL class so that I can leave out the "if RowsAffected <> 1" statement?
0
Comment
Question by:gjbaker
1 Comment
 
LVL 1

Accepted Solution

by:
millerw earned 100 total points
Comment Utility
There is an example of how to do this on the Borland site.

See the following address:

http://www.borland.com/devsupport/bde/delphifiles.html

Here is what it reads about the example:
BDE API stored procedure component: (Created Jan 26th, 1998) This example allows the user to call a stored procedure in any of the three BDE API possible ways. This component can be used to workaround problems such as the MSACCESS crash with queries that have parameters. Anyone who wants to call procedures from Delphi with BDE API calls should look at this example.

Hope that helps,
Scott
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now