🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #711

Re: How can I return the count of affected records from insert/update/delete?

#711
From: Jeff Overcash (TeamB)
Date: Sat, 28 Jul 2007 00:19
22 lines
1854 bytes
Fredrik Larsson wrote:
> Hi,
> 
> I want to do inserts/updates/deletes. How can I return how many records 
> has been affected? Is there any easy way using SQL?
> 
> Regards, Fredrik.
> 
> 

You can get this information from the API.  If you are using IBX for instance 
you can look at the RecordCount property after an insert/update/delete.  There 
is not a way with straight SQL.

-- 
Jeff Overcash (TeamB)
       (Please do not email me directly unless  asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted  corridors of Whitehall.
              (Fish)
Technical Details
Message-ID: <46aa8b7c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <mn.dd797d771dfc56da.26430@none.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ee95d44f8fa31383
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 27 Jul 2007 20:19:09 -0400
From: "Jeff Overcash (TeamB)" <jeffovercash@mindspring.com>
Organization: TeamB
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
MIME-Version: 1.0
Newsgroups: borland.public.interbase.sql
Subject: Re: How can I return the count of affected records from insert/update/delete?
References: <mn.dd797d771dfc56da.26430@none.com>
In-Reply-To: <mn.dd797d771dfc56da.26430@none.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.32.203.94
Message-ID: <46aa8b7c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185581948 66.32.203.94 (27 Jul 2007 17:19:08 -0700)
Lines: 22
X-Authenticated-User: overcash
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1697