[General] Unable to identify an operator '=' for types 'numeric' and 'double precision' You will have to retype this query using and explicit cast

Поиск
Список
Период
Сортировка
От Edmund Lim Chi Chung
Тема [General] Unable to identify an operator '=' for types 'numeric' and 'double precision' You will have to retype this query using and explicit cast
Дата
Msg-id 1015818307.3c8c2843c5c3e@www.swopt.com
обсуждение исходный текст
Список pgsql-general
Server hardware:
Pentium 166mmx
96mb ram
4gb HD

Server Software:
Red Hat Linux 7.1
PostgreSQL 7.2

Development:
PowerBuilder 5.0

The story start when I try these statements (execute in psql):

CREATE TABLE testdecimal ( decimal_value DECIMAL(6,2));
INSERT INTO testdecimal VALUES(1.0);
INSERT INTO testdecimal VALUES(1.1);
SELECT * FROM testdecimal WHERE decimal_value = 1.0;

Error : Unable to identify an operator '=' for types 'numeric' and 'double
precision'
        You will have to retype this query using and explicit cast


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

Предыдущее
От: Darren Ferguson
Дата:
Сообщение: Re: RE:REFERENCES
Следующее
От: "Alex Cheung Tin Ka"
Дата:
Сообщение: How to rollback a sql