Getting the last inserted id

Поиск
Список
Период
Сортировка
Искать
От
Mike Fahey
Тема
Getting the last inserted id
Дата
Msg-id
4194F497.9040104@enter.net
Список
Дерево обсуждения
Re: Getting the last inserted id "Fred Parkinson" <FredP@abag.ca.gov>
So I guess the question still remains, how do you get the last inserted 
id from a sequence?

I'm using access 2003 & postgres odbc 8.0.02


select @@IDENTITY seems to be MS Specific and not work with postgres.

calling currval has to be a pass-through query which makes it high 
complicated if at all
possible.

How does everyone else do this ?

How does any database maintain referential integrity if this doesn't work?




В списке pgsql-odbc по дате отправления
От: Johann Zuschlag
Дата:
Сообщение: Re: 08.00.0002 useless :-)
От: Fred Parkinson
Дата:
FAQ