Skip site navigation (1) Skip section navigation (2)

oid for insert

From: Choosna Makarasara <choosna(at)rajavithi(dot)go(dot)th>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: oid for insert
Date: 2000-07-14 10:39:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
I use visual FoxPro and ODBC to connect to postgreSQL. In an INSERT
command, is there anyway to return the OID of the newly inserted rows
in a single query? Especially through ODBC. If I use psql window, this
OID will be shown but cannot be passed to my program. I try to find out
in manuals and texts but fail to get a solution.
Choosna Makarasara

pgsql-novice by date

Next:From: Jacques WilliamsDate: 2000-07-14 14:08:59
Subject: Re: win Drivers for postgreSQL 7.0
Previous:From: igorDate: 2000-07-14 04:10:30
Subject: win Drivers for postgreSQL 7.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group