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

Strange change in my where clause?

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Strange change in my where clause?
Date: 2004-12-06 12:52:03
Message-ID: 41B455F3.5040502@havleik.no (view raw or flat)
Thread:
Lists: pgsql-jdbc
I have a select where I end like this:

...where week = 40 and year = 2004 order by trykkedato, presseID, godeaviser

but the statement logged by the server is

...where week = 40 and year = 2004 order by 1,3,20


Why? The order get messed up....



Regards,


BTJ


-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj(at)havleik(dot)no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2004-12-06 12:57:31
Subject: Re: SSL confirmation - No trusted certificate found
Previous:From: Andrew MDate: 2004-12-06 12:50:29
Subject: Re: SSL confirmation - No trusted certificate found

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