🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #38

TSQLQuery/MySQL

#38
From: GC
Date: Tue, 27 Mar 2007 19:36
3 lines
973 bytes
When sending an INSERT command via TSQLQuery, is there any way to retrieve
the insert ID without sending a second query (i.e., SELECT
LAST_INSERT_ID())?
Technical Details
Message-ID: <46097246$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,58a76894d2cb4477,start
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "GC" <gcrosley@frogcenter.com>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: TSQLQuery/MySQL
Date: Tue, 27 Mar 2007 12:36:39 -0700
Lines: 5
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 24.182.52.210
Message-ID: <46097246$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1175024198 24.182.52.210 (27 Mar 2007 12:36:38 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail