Re: Obtain Serial Value - Mailing list pgsql-odbc

From Timothy Reed
Subject Re: Obtain Serial Value
Date
Msg-id dc53e5300602080632i24818944m3077b1b46bc65497@mail.gmail.com
Whole thread Raw
In response to Obtain Serial Value  ("Sistemas C.M.P." <sistemascmp@redynet4.com.ar>)
List pgsql-odbc
You should try SELECT MAX( <fieldname> ) FROM <tablename>; ??

On 2/8/06, Sistemas C.M.P. <sistemascmp@redynet4.com.ar > wrote:
I am using VB6+ADO+ODBC with pgSQL.
I need to obtain the value of a serial field (autogenerated) inmediatly after I do a INSERT query.  How can I do?



--
--------
Timothy Reed

tareed@gmail.com

pgsql-odbc by date:

Previous
From: "Sistemas C.M.P."
Date:
Subject: Obtain Serial Value
Next
From: "Trewern, Ben"
Date:
Subject: Re: Obtain Serial Value