RE: NUMERIC type makes trouble in MS Access

Поиск
Список
Период
Сортировка
От Tobias Wendorff
Тема RE: NUMERIC type makes trouble in MS Access
Дата
Msg-id f51780612e5990c605efb86ec0417121.squirrel@webmail.tu-dortmund.de
обсуждение исходный текст
Ответ на NUMERIC type makes trouble in MS Access  ("Tobias Wendorff" <tobias.wendorff@tu-dortmund.de>)
Ответы Re: NUMERIC type makes trouble in MS Access
Список pgsql-odbc
Here an update:

by default, MS Access sets linked tables with "unlimited" NUMERIC
to DECIMAL with "precision: 28" and "decimals: 6" (MS Access names).
Trying to read a value [INSERT INTO public.demo VALUES (1.0 / 3)]
breaks with an error.

When creating the column using NUMERIC(28, 24), MS Access shows this:
"precision: 28" and "decimals: 24". And there's no error.

Funny, when creating the column using NUMERIC(32, 28), MS Access
interprets it as TEXT with field length 32.

NUMERIC(28,27) is the last column type, MS Access can read as DECIMAL.

A view on an "unlimited" NUMERIC with casting ::NUMERIC(28, 24)
is accepted by Access. So it seems like I need to create a VIEW as a
work-around.



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

Предыдущее
От: "Tobias Wendorff"
Дата:
Сообщение: Re: NUMERIC type makes trouble in MS Access
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: NUMERIC type makes trouble in MS Access