Can't compare decimal columns???

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Can't compare decimal columns???
Дата
Msg-id Pine.LNX.4.30.0101141653070.25523-100000@chapelperilous.net
обсуждение исходный текст
Ответы Re: Can't compare decimal columns???
Список pgsql-general
Why isn't there a >= or <= operator defined for floating point datatypes?

As an example:

bmccoy=> select * from account where balance between 20.00 and 99.00;
ERROR:  Unable to identify an operator '>=' for types 'numeric' and 'float8'
        You will have to retype this query using an explicit cast

Is this standard?

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Experience is what you get when you were expecting something else.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: stale portmaster processes
Следующее
От: "Muhammad Rusydi"
Дата:
Сообщение: update table field value II