fetch auto-increment

Поиск
Список
Период
Сортировка
От Stefan Allers
Тема fetch auto-increment
Дата
Msg-id 13336.1032119970@www61.gmx.net
обсуждение исходный текст
Список pgsql-odbc
I want to insert a row in the following table:

CREATE TABLE PATIENT (PATIN serial,PATN varchar(64) NULL);

I want to insert a patient name in the patient table with s.th. like:

insert into patient(patn) values('Doe,John')

Is there a simple way to fetch the datbase generated patin value
without doing a new database query (select patin from patient where ...)
in odbc?


--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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