pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Augusto Meza Lizardi <mezal74@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: How can obtain the oid for the last inserted row ?
Date: Mon, 17 Nov 2003 14:00:42 -0600 (CST)
Message-ID: <20031117200042.20654.qmail@web10407.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



Message-ID: <20031117200042.20654.qmail@web10407.mail.yahoo.com>
Permalink:  ../20031117200042.20654.qmail@web10407.mail.yahoo.com/
Also on:    postgresql.org/message-id/20031117200042.20654.qmail@web10407.mail.yahoo.com

 · 

reply

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 for the last inserted row ?
  In-Reply-To: <20031117200042.20654.qmail@web10407.mail.yahoo.com>
  References: <20031117200042.20654.qmail@web10407.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