Article View: borland.public.interbase.ibconsole
Article #235Re: commit statement not work
From: Karol Bieniaszewski
Date: Thu, 17 May 2007 07:22
Date: Thu, 17 May 2007 07:22
49 lines
1939 bytes
1939 bytes
U�ytkownik "Gelein van de Voorde" <gelein@gvsnet.nl> napisa� w wiadomo�ci news:464b69ad$1@newsgroups.borland.com... > Karol Bieniaszewski wrote: > >> Hi Gelein. >> >> I test script with "commit" statement. >> >> Create table X1 ... >> commit; >> create second table X2 >> add foreign key from table X2 to X1 >> >> run script >> >> it not work becaouse commit realy not commit transaction >> and i get table X1 is in use error. >> >> When i do the same in IBConsole 7.5.0.1 it work ok. >> Karol Bieniaszewski > > Karol, > If you are using 8.0.0.50 please check the transaction options if the > Access mode is "Write". > try this - copy all to SQL window: CREATE TABLE XXX ( ID INTEGER NOT NULL PRIMARY KEY ); commit; CREATE TABLE YYY ( ID Integer NOT NULL primary key, ID_XXX INTEGER ); ALTER TABLE YYY ADD FOREIGN KEY (ID_XXX) REFERENCES XXX(ID) ON DELETE NO ACTION ON UPDATE CASCADE; and run whole script you get object XXX is in use try the same in IBConsole 7.5.0.1 Karol Bieniaszewski
Technical Details
Message-ID:
<464c01ae$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<464ac764@newsgroups.borland.com> <464b69ad$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f4565,48b8665fdcbfdfee X-Google-Attributes: gidf4565,public X-Google-Language: ENGLISH,ASCII From: "Karol Bieniaszewski" <liviuslivius@poczta.onet.pl> Newsgroups: borland.public.interbase.ibconsole References: <464ac764@newsgroups.borland.com> <464b69ad$1@newsgroups.borland.com> Subject: Re: commit statement not work Date: Thu, 17 May 2007 09:22:36 +0200 Lines: 52 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 195.205.151.58 Message-ID: <464c01ae$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1179386286 195.205.151.58 (17 May 2007 00:18:06 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail