Re: Can't compare decimal columns???

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: Postgres Users <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't compare decimal columns???
Date: 2001-01-15 02:31:07
Message-ID: Pine.LNX.4.30.0101142130190.25523-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 14 Jan 2001, Stephan Szabo wrote:

> I believe there was discussion about these things on -hackers a while
> back. The type promotion and which type a constant is seen as is kind of
> wierd right now. The query will probably work with explicit typecast to
> numeric for the constants.

Yes, I got it to work with CAST(? as NUMERIC). Was just curious about the
operator issue.

-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Success is in the minds of Fools.
-- William Wrenshaw, 1578

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas T. Thai 2001-01-15 02:46:20 Re: stale portmaster processes
Previous Message Ben Stringer 2001-01-15 02:29:29 Re: Creating a database