🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: new and old values

#25
From: Martijn Tonies
Date: Thu, 22 May 2008 13:25
28 lines
1951 bytes
> OK just to make sure:
> - In case of a trigger execute a stored procedure I can not commit or
> rollback changes from my app, right ?

The operations that cause the trigger to fire run in a specific transaction
context,
if you commit/rollback the transaction, this goes for all operations in that
context,
so yes, this includes stored procedure changes.

> - In case I called the stored procedure from TIBStoredProc I can commit
> or rollback changes from my app, right ?

See above.

This is also covered in the InterBase documentation.

-- 
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Technical Details
Message-ID: <4835734f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <483481ec@newsgroups.borland.com> <48348793@newsgroups.borland.com> <4834996b$1@newsgroups.borland.com> <4834cc91$1@newsgroups.borland.com> <483551fa@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
From: "Martijn Tonies" <m.tonies@upscene.removethis.com>
Newsgroups: borland.public.interbase.sql
References: <483481ec@newsgroups.borland.com> <48348793@newsgroups.borland.com> <4834996b$1@newsgroups.borland.com> <4834cc91$1@newsgroups.borland.com> <483551fa@newsgroups.borland.com>
Subject: Re: new and old values
Date: Thu, 22 May 2008 15:25:29 +0200
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1914
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914
NNTP-Posting-Host: 212.238.159.172
Message-ID: <4835734f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1211462479 212.238.159.172 (22 May 2008 06:21:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail