Article View: borland.public.interbase.sql
Article #11099Re: Last insert key
From: Craig Stuntz TeamB
Date: Thu, 12 Dec 2002 17:17
Date: Thu, 12 Dec 2002 17:17
16 lines
1523 bytes
1523 bytes
In article <3df8bc1a$1@newsgroups.borland.com>, rim@novicom.nl says... > does anybody know what the smartest way is to get your autonumbered field > > i'm using D6 with interbase 6 and have a generated id using the trigger in > interbase itself > Get the ID first, then insert the record. Now you know the ID value. -Craig -- Craig Stuntz [TeamB] � Vertex Systems Corp. � Columbus, OH Delphi/InterBase Weblog : http://delphi.weblogs.com InterBase Perf. Monitor : http://delphi.weblogs.com/IBPerformanceMonitor InterBase PLANalyzer 1.1: http://delphi.weblogs.com/IBPLANalyzer
Technical Details
Message-ID:
<MPG.18628e9dc84bf9dc98a3c1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3df8bc1a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,1f84ba5a3b79c5df X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-12-12 09:24:05 PST From: Craig Stuntz [TeamB] <cstuntz@nospamplease.com (but use vertexsoftware to email)> Newsgroups: borland.public.interbase.sql Subject: Re: Last insert key Date: Thu, 12 Dec 2002 12:17:09 -0500 Message-ID: <MPG.18628e9dc84bf9dc98a3c1@newsgroups.borland.com> References: <3df8bc1a$1@newsgroups.borland.com> Organization: Vertex Systems Corporation X-Newsreader: MicroPlanet Gravity v2.60 NNTP-Posting-Host: 65.86.87.242 X-Trace: newsgroups.borland.com 1039713437 65.86.87.242 (12 Dec 2002 09:17:17 -0800) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail