On Mon, Nov 04, 2002 at 09:11:30 +0100,
  Terry Yapt <[EMAIL PROTECTED]> 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)


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to