| From: | "jack" <datactrl(at)tpg(dot)com(dot)au> |
|---|---|
| To: | <pgsql-sql(at)postgresql(dot)org> |
| Subject: | numeric problems |
| Date: | 2002-11-15 02:21:59 |
| Message-ID: | 005901c28c4d$c800a0d0$1400a8c0@jac |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
I'm using pgAdmin II version 1.3.82 , psqlODBC 7.2.3 ,
postgreSQl 7.2.1. There is a problem when I do an SQL query
with a field of numeric, for eample NUMERIC (10.2). Following
staement causes an error such as "Unable to indentify an
operator '>' for type 'numeric' and 'double precision'..."
select itemNo, listprice from itmt_info
where listprice > 50.99;
And this one works.
select itemNo, listprice from itmt_info
where listprice > '50.99';
It seems all numeric operators are not available on NUMERIC FIELDS. Is there
anyone has done somethings on this problems? Or should I change NUMERIC type
to FLOAT type? Please advise, thank you in advance.
Jack
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Ogden | 2002-11-15 02:36:07 | Re: numeric problems |
| Previous Message | Robert Treat | 2002-11-14 23:04:04 | Re: RE: [SQL] System´s database table |