Solved

Stored Procedures

Posted on 1998-01-23
1
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
millerw earned 100 total points
ID: 1357374
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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