Re: numeric type and odbc from access 2000

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: numeric type and odbc from access 2000
Дата
Msg-id 006a01c0911d$3bc32de0$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на numeric type and odbc from access 2000  ("Shahab Asgharzadeh" <shahab@nwu.edu>)
Ответы Re: numeric type and odbc from access 2000  ("Stefan Waidele jun." <St.Waidele.jun@Krone-Neuenburg.de>)
Список pgsql-general
From: "Shahab Asgharzadeh" <shahab@nwu.edu>

> Access will write the sql as:
> delete from "tablename" where "col1" = 1234 AND "col2" = 'text' AND "col3"
=
> 100.200
>
> ERROR:  Unable to identify an operator '=' for types 'numeric' and
'float8'
>         You will have to retype this query using an explicit cast
>
It is treating "100.200" as float and can't find an '=' operator that
matches numeric with float. You can handle it with

where col3=100.200::numeric

- Richard Huxton


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Number of open files
Следующее
От: Brice Ruth
Дата:
Сообщение: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?