Re: Overwriting Operator for numeric and float8 fails - Mailing list pgsql-novice

From Johann Zuschlag
Subject Re: Overwriting Operator for numeric and float8 fails
Date
Msg-id E15WaC3-0005pp-00@mrelay01.kundenserver.de
Whole thread Raw
In response to Re: Overwriting Operator for numeric and float8 fails  (Andrew McMillan <andrew@catalyst.net.nz>)
List pgsql-novice
On Tue, 14 Aug 2001 16:24:43 +1200, Andrew McMillan wrote:

>> SELECT t6.* FROM RECHNUNG  t6 WHERE t6.bruttosumm = 00000034.70 ORDER BY t6.nummer DESC
>
>Can't you just force conversion of the constant to numeric?
>
>SELECT t6.* FROM RECHNUNG  t6 WHERE t6.bruttosumm = numeric(00000034.70)
>ORDER BY t6.nummer DESC
>
As I said, my application is doing it. Only thing I did, was patching the ODBC-driver
to put quotes. That is the same like your proposal. But since I can't change my app.
I'm, looking for a smarter way.

Thanks anyway

Johann

Johann Zuschlag
zuschlag@online.de



pgsql-novice by date:

Previous
From: Gaetan GUYODO
Date:
Subject: Re: standard sql operators
Next
From: "Sundararajan"
Date:
Subject: help on delete trigger.