How can obtain the oid for the last inserted row ?

From: Augusto Meza Lizardi <mezal74(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: How can obtain the oid for the last inserted row ?
Date: 2003-11-17 20:00:42
Message-ID: 20031117200042.20654.qmail@web10407.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Fred Parkinson 2003-11-17 20:28:43 fyi: possible security bug linking from MS Access
Previous Message Augusto Meza Lizardi 2003-11-16 20:52:48 how can obtain the OID of the last insert ?