Last serial inserted

Поиск
Список
Период
Сортировка
Искать

Last serial inserted

От:
Eduardo <ekotuja@brasilnet.net>
Дата:
 How can I get the last id ( serial number ) inserted.
 My C code is :  

 res = PQexec(conn,"insert into table1 (field1) values ('value1')");


table1:     
              id SERIAL,
              field1 VARCHAR(10) 


Thanks
    Eduardo K
FAQ