🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: new and old values

#20
From: Isaac
Date: Wed, 21 May 2008 21:51
21 lines
1683 bytes
Martijn Tonies wrote:
> Hi,
> 
>> I am trying to make a scenario of saving a bill contains many items, I
>> need when a user make an update to be able to get old and new values of
>> that update so I am thinking of writing a stored procedure
>>
>> can I access new and old from the TIBStoredProc or it is only accessible
>> from triggers ?
> 
> NEW and OLD is only available in Triggers.
> 
> That being said, a TIBStoredProc is a client-side component to call a
> server-side Stored Procedure, you cannot touch the internals of that
> procedure from the component.
> 
> 
ok , what about starttransaction, commit, rollback can be affect the 
changes made by a stored procedure ?

Thanks
Technical Details
Message-ID: <4834996b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <483481ec@newsgroups.borland.com> <48348793@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ed21a630be2a7972
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 22 May 2008 00:51:38 +0300
From: Isaac <no@no.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.interbase.sql
Subject: Re: new and old values
References: <483481ec@newsgroups.borland.com> <48348793@newsgroups.borland.com>
In-Reply-To: <48348793@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 41.234.198.61
Message-ID: <4834996b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1211406699 41.234.198.61 (21 May 2008 14:51:39 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail