From: Mike Fahey <mfahey@enter.net>
To: Postgres list <pgsql-odbc@postgresql.org>
Subject: @@IDENTITY
Date: Wed, 10 Nov 2004 12:59:04 -0500
Message-ID: <419256E8.2070403@enter.net> (raw)
Does select @@IDENTITY work with version 8.0.02 ?
IT returns "2" every single time.
All I want to do is get the last inserted id from a sequence.
Suggestions?
--
With best regards,
Mike Fahey - Systems Administration
********************************************************************
ENTER.NET - "The Road to the Internet Starts Here!" (tm)
(610) 437-2221 * http://www.enter.net/ * email:support@enter.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: mfahey@enter.net
Subject: Re: @@IDENTITY
In-Reply-To: <419256E8.2070403@enter.net>
References: <419256E8.2070403@enter.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