getting last oid in Visual Basic

Поиск
Список
Период
Сортировка
От iloz@recursor.hu
Тема getting last oid in Visual Basic
Дата
Msg-id Pine.LNX.4.21.0210011625330.11146-100000@www.recursor.com
обсуждение исходный текст
Список pgsql-odbc
Hi!

I have problem with getting the oid of last inserted row in Visual Basic.
If I update a recordset with a new row, and then I execute a query:
"select :LASTOID as loid"
then I get: ERROR:  parser: parse error at or near ":"

May be the driver connects to the server again, and cant't get the oid?

How can I get it with ODBC?

Thanks
Zoltan



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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: [NOVICE] GUI Interface
Следующее
От: valcauda Stéphane
Дата:
Сообщение: Fw: [Novice]