Re: Comparing Numeric and Double Precision (float8)..

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Comparing Numeric and Double Precision (float8)..
Дата
Msg-id 20021104134515.GA5617@wolff.to
обсуждение исходный текст
Ответ на Comparing Numeric and Double Precision (float8)..  (Terry Yapt <pgsql@technovell.com>)
Список pgsql-sql
On Mon, Nov 04, 2002 at 09:11:30 +0100, Terry Yapt <pgsql@technovell.com> wrote:
> 
> When I compare a numeric(x,0) field with a float8 field I have an error
> on PostgreSQL what I didn't have with Oracle.  I mean:
> 
> CREATE test (one numeric(2,0));
> 
> SELECT * FROM test WHERE one = 1.00000; 

With 7.3b3 the above works after correcting the create statement.
bruno=> create table test (one numeric(2,0));
CREATE TABLE
bruno=> SELECT * FROM test WHERE one = 1.00000;one
-----
(0 rows)



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

Предыдущее
От: Terry Yapt
Дата:
Сообщение: Comparing Numeric and Double Precision (float8)..
Следующее
От: Terry Yapt
Дата:
Сообщение: Re: Comparing Numeric and Double Precision (float8)..