From: Augusto Meza Lizardi <mezal74@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: how can obtain the OID of the last insert ?
Date: Sun, 16 Nov 2003 14:52:48 -0600 (CST)
Message-ID: <20031116205248.71546.qmail@web10406.mail.yahoo.com> (raw)
Hi, i am using ODBC for Postgresql with Visual Basic
6, somebody know how can obtain the oid for the last
row inserted ?
I try with :LASTOID ,but when i send the instruction
"SELECT :LASTOID" return a error parser in the ":",
the same error pass with the select in a stored
procredure, this work fine only in plsql.
Any idea ?
Thanks
Augusto
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
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: mezal74@yahoo.com
Subject: Re: how can obtain the OID of the last insert ?
In-Reply-To: <20031116205248.71546.qmail@web10406.mail.yahoo.com>
References: <20031116205248.71546.qmail@web10406.mail.yahoo.com>
* 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