Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] problem with numeric

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: Byron Nikolaidis <byron(dot)nikolaidis(at)home(dot)com>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] problem with numeric
Date: 2000-02-02 15:50:52
Message-ID: 3.0.1.32.20000202075052.00ae5d80@ori-ind.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
At 22:29 02/01/2000 -0500, Byron Nikolaidis wrote:
>
>
>"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

Yes Byron, both Access & the BDE like this ;-)

Thanks,

Ken

In response to

pgsql-interfaces by date

Next:From: Ken J. WrightDate: 2000-02-02 17:05:10
Subject: pg_pwd trouble
Previous:From: Thomas LockhartDate: 2000-02-02 14:30:18
Subject: Re: [INTERFACES] problem with numeric

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group