You should try SELECT MAX( <fieldname> ) FROM <tablename>; ??
On 2/8/06, Sistemas C.M.P. <sistemascmp(at)redynet4(dot)com(dot)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(at)gmail(dot)com