Article View: borland.public.interbase.sql
Article #11316Re: Problem with transaction
From: Bill Todd
Date: Wed, 27 Nov 2002 14:23
Date: Wed, 27 Nov 2002 14:23
30 lines
2061 bytes
2061 bytes
There is no solution AFAIK. You have to commit the transaction that drops the dependent objects before you can drop the view. On Wed, 27 Nov 2002 12:06:32 -0000, "Gon�alo Martins" <gmartins@netcabo.pt> wrote: >I've posted this in the end of another post, but I would like to make a new >post out of it since the subject it's diferent of the post it was in. >Here it goes > >The situation is this: I want to change a view, but a lot of procedures use >it. >Ok, I'm dropping all the procedures and then drop the view and reconstruct >all. >I want to do this in one transaction but I get this error: >I drop all the procedures that use the view and then the view. When I do >this, it gives an error"View MYVIEW is in use". If I do a commit before I do >the drop of the view, then the drop of the view works... >Any tips on this? I would like to do all this in one transaction so the DB >doesn't stay in an incorrect state if an error occurs. >Thanks > >Gon�alo > > -- Bill (TeamB) (TeamB cannot respond to questions received via email)
Technical Details
Message-ID:
<cal9uuobcjeffemr22qpevrntd70ihjrti@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3de4b546$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,685e83caabd4f204 X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-27 06:40:46 PST From: Bill Todd <bill@notthis.dbginc.com> Newsgroups: borland.public.interbase.sql Subject: Re: Problem with transaction Date: Wed, 27 Nov 2002 07:23:49 -0700 Message-ID: <cal9uuobcjeffemr22qpevrntd70ihjrti@4ax.com> References: <3de4b546$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 216.207.211.30 X-Trace: newsgroups.borland.com 1038407028 216.207.211.30 (27 Nov 2002 06:23:48 -0800) Lines: 30 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail