🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how I can make the stored procedure see its changes during running

#52
From: Bill Todd [TeamB]
Date: Sat, 24 May 2008 02:50
14 lines
1761 bytes
Isaac wrote:

> I think this mean procedures called from triggers run in a
> transaction different from the ones that run from TIBStoredProc,
> right ?

Wrong. Any changes made by a stored procedure that is called from a
trigger will be within the transaction that caused the trigger to fire.
When a trigger calls a stored procedure it is impossible for the
trigger and stored procedure to execute in different transactions.


-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <48378291$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4835d989@newsgroups.borland.com> <48361077@newsgroups.borland.com> <4836d013@newsgroups.borland.com> <4836d23c$1@newsgroups.borland.com> <483710e4@newsgroups.borland.com> <483749e4@newsgroups.borland.com> <4837515e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,95eb8734d0771ad2
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd [TeamB]" <no@no.com>
Subject: Re: how I can make the stored procedure see its changes during running
Newsgroups: borland.public.interbase.sql
References: <4835d989@newsgroups.borland.com> <48361077@newsgroups.borland.com> <4836d013@newsgroups.borland.com> <4836d23c$1@newsgroups.borland.com> <483710e4@newsgroups.borland.com> <483749e4@newsgroups.borland.com> <4837515e@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.9
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 63.147.41.232
Message-ID: <48378291$1@newsgroups.borland.com>
Date: 23 May 2008 19:50:57 -0700
X-Trace: newsgroups.borland.com 1211597457 63.147.41.232 (23 May 2008 19:50:57 -0700)
Lines: 14
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1577