From: Stefan Allers <Stefan.Allers@gmx.de>
To: pgsql-odbc@postgresql.org
Subject: fetch auto-increment
Date: Sun, 15 Sep 2002 21:59:30 +0200 (MEST)
Message-ID: <13336.1032119970@www61.gmx.net> (raw)
I want to insert a row in the following table:
CREATE TABLE PATIENT (PATIN serial,PATN varchar(64) NULL);
I want to insert a patient name in the patient table with s.th. like:
insert into patient(patn) values('Doe,John')
Is there a simple way to fetch the datbase generated patin value
without doing a new database query (select patin from patient where ...)
in odbc?
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Stefan.Allers@gmx.de
Subject: Re: fetch auto-increment
In-Reply-To: <13336.1032119970@www61.gmx.net>
References: <13336.1032119970@www61.gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox