Re: ROWID ? or other internal ID - Mailing list pgsql-odbc

From iloz@recursor.hu
Subject Re: ROWID ? or other internal ID
Date
Msg-id Pine.LNX.4.21.0210091135330.21391-100000@www.recursor.com
Whole thread Raw
In response to ROWID ? or other internal ID  (valcauda Stéphane <valcauda.aderis@wanadoo.fr>)
List pgsql-odbc
Hi!

I'm new in postgresql-ODBC but not in postgresql. I use it with PHP long
time ago.
I use OID for selecting and also for referencing rows. For this I need to
know the OID of the last inserted row. In php I have getlastoid function
for this.
I tried "insert" then "select :LASTOID" with ODBC but it has returned with
error. (I tried it in the same connection)
How can I get the OID of last inserted row with ODBC?

Thanks
Zoltan

On Tue, 8 Oct 2002, Jean-Luc Lachance wrote:

> You want OID as in:
>
> Select OID, * from table;

___________________________________________________________________________
    Nagy Zoltan      iloz@falcon.sch.bme.hu      Phone: +36-30-2699112


pgsql-odbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: ROWID ? or other internal ID
Next
From: Jean-Luc Lachance
Date:
Subject: Re: ROWID ? or other internal ID