Article View: borland.public.delphi.database
Article #23Why no commit?
From: Johan
Date: Sat, 19 Jul 2003 13:07
Date: Sat, 19 Jul 2003 13:07
25 lines
1947 bytes
1947 bytes
Hello, I am trying to create a table with the following code IBQuery1.Close; IBQuery1.SQL.Text := 'Create table employee (name : char(20))'; IBQuery1.Open; And to commit the command i do a commit as follows. IBQuery1.Close; IBQuery1.SQL.Text := 'Commit'; IBQuery1.Open; I don't get any errors but somehow it does not create the table as i want. When i do exactly the same from within an sql environment (IBADMIN) everything works fine. Can someone give me an example of how this is done? I am using firebird as DB. thx Johan
Technical Details
Message-ID:
<3f194299$0$49110$e4fe514c@news.xs4all.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsfeed.wxs.nl!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff75c,7a329eac3d9933a8,start X-Google-Attributes: gidff75c,public X-Google-Thread: 10de66,7a329eac3d9933a8,start X-Google-Attributes: gid10de66,public X-Google-Thread: f6386,7a329eac3d9933a8,start X-Google-Attributes: gidf6386,public X-Google-Thread: 115d96,7a329eac3d9933a8,start X-Google-Attributes: gid115d96,public X-Google-ArrivalTime: 2003-07-19 06:07:40 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsfeed.wxs.nl!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail From: "Johan" <lijffijt@xs4all.nl> Newsgroups: borland.public.delphi.database,borland.public.delphi.database.desktop,borland.public.delphi.database.multi-tier,borland.public.delphi.database.sqlservers Subject: Why no commit? Date: Sat, 19 Jul 2003 15:07:45 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 27 Message-ID: <3f194299$0$49110$e4fe514c@news.xs4all.nl> NNTP-Posting-Date: 19 Jul 2003 15:07:38 CEST NNTP-Posting-Host: 213.84.249.41 X-Trace: 1058620058 news.xs4all.nl 49110 213.84.249.41:22705 X-Complaints-To: abuse@xs4all.nl