| From: | Byron Nikolaidis <byron(dot)nikolaidis(at)home(dot)com> |
|---|---|
| To: | "Ken J(dot) Wright" <ken(at)ori-ind(dot)com> |
| Cc: | pgsql-interfaces(at)postgreSQL(dot)org |
| Subject: | Re: [INTERFACES] problem with numeric |
| Date: | 2000-02-02 03:29:46 |
| Message-ID: | 3897A4AA.341019F9@home.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
"Ken J. Wright" wrote:
>
> v6.5.3
>
> While testing the new ODBC driver I ran into the following problem with
> queries on numeric fields. Unless the values are surrounded by single quote
> marks, the query fails with the message: Unable to identify an operator '='
> for types 'numeric' and 'float'. This occurs in the WHERE clause of the
> query.
>
> SELECT * from tbl WHERE numfld = 99.125;
> UPDATE tbl SET numfld = 99.13 WHERE numfld = 99.125;
>
> An INSERT works fine.
>
> These statements execute ok on float fields, but not numeric. This happens
> via ODBC and also with psql from a Linux console.
>
> Ken
>
> ************
An updated odbc driver is available that fixes this at:
ftp://ftp.postgresql.org/pub/odbc/index.html
Byron
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-02-02 04:15:17 | Re: [INTERFACES] problem with numeric |
| Previous Message | Byron Nikolaidis | 2000-02-02 01:52:44 | Re: [INTERFACES] problem with numeric |