how can obtain the OID of the last insert ?

From: Augusto Meza Lizardi <mezal74(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: how can obtain the OID of the last insert ?
Date: 2003-11-16 20:52:48
Message-ID: 20031116205248.71546.qmail@web10406.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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Augusto Meza Lizardi 2003-11-17 20:00:42 How can obtain the oid for the last inserted row ?
Previous Message Oliver Elphick 2003-11-16 19:43:14 Re: installation of odbc