Article View: borland.public.interbase.sql
Article #11306Problem with transaction
From: Gon�alo Martins
Date: Wed, 27 Nov 2002 12:06
Date: Wed, 27 Nov 2002 12:06
17 lines
1690 bytes
1690 bytes
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
Technical Details
Message-ID:
<3de4b546$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,685e83caabd4f204,start X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-27 04:10:06 PST From: "Gon�alo Martins" <gmartins@netcabo.pt> Newsgroups: borland.public.interbase.sql Subject: Problem with transaction Date: Wed, 27 Nov 2002 12:06:32 -0000 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 212.18.170.84 Message-ID: <3de4b546$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038398790 212.18.170.84 (27 Nov 2002 04:06:30 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail