Last serial inserted

Поиск
Список
Период
Сортировка
От Eduardo
Тема Last serial inserted
Дата
Msg-id 00101614551200.00949@YOSEMITE
обсуждение исходный текст
Список pgsql-novice
 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

В списке pgsql-novice по дате отправления: