| От | Andreas |
|---|---|
| Тема | Re: psqlodbc-08_00_0101 does not work with Ms Access |
| Дата | |
| Msg-id | 42E4F1B7.2000609@gmx.net обсуждение исходный текст |
| Ответ на | Re: psqlodbc-08_00_0101 does not work with Ms Access (Zlatko Matić <zlatko.matic1@sb.t-com.hr>) |
| Список | pgsql-odbc |
Zlatko Matić schrieb: > several columns! You must use non-floating NUMERICAL field (long) as > primary > key. The best is to use autoincrement (BIGSERIAL) field as primary key. > So, add bigserial fields to all your tables, make them primary keys > and it > will solve your problems with "#Deleted". BIGserials are 8 byte integers. Access can handle only 4 byte integer fields. The ODBC driver maps the bigints down to 4 bytes as default setting. If Access can't actually use the additional 4 bytes why bloat the tables and add maintenance work to the driver? It's all fine if your bigserials stay small enough. Access "Long Integer" are signed and therefore range from -2.147.483.648 to 2.147.483.647. That matches "integer" in PG.
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера