Re: Access - ODBC - serial problem...

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Access - ODBC - serial problem...
Дата
Msg-id 200404081448.53157.dev@archonet.com
обсуждение исходный текст
Ответ на Access - ODBC - serial problem...  ("Philippe Lang" <philippe.lang@attiksystem.ch>)
Ответы Re: Access - ODBC - serial problem...  (Richard Combs <rncombs@covad.net>)
Список pgsql-odbc
On Thursday 08 April 2004 13:23, Philippe Lang wrote:
>
> With the table described below, imagine I do, from the client:
>
> insert into test (code) VALUES (20);
>
> How does the client know the id that has been given to the record? With
> ethereal, I could see Access fetches the id by doing a
>
> select id from test where code = 20"
>
> Of course, another record has the same code, and the wrong id is being
> fetched back. This explains what I have noticed, and that is explained
> below...

Do you not have a primary key on your table?


--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: "Philippe Lang"
Дата:
Сообщение: Access - ODBC - serial problem...
Следующее
От: Richard Combs
Дата:
Сообщение: Re: Access - ODBC - serial problem...