X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1522C3A5F0B for ; Mon, 6 Dec 2004 12:50:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13902-09 for ; Mon, 6 Dec 2004 12:50:47 +0000 (GMT) Received: from gandalf.havleik.no (gw2.havleik.no [217.8.139.61]) by svr1.postgresql.org (Postfix) with ESMTP id 70BA83A5F15 for ; Mon, 6 Dec 2004 12:50:48 +0000 (GMT) Received: from [127.0.0.1] (gandalf.havleik.no [10.1.1.1]) by gandalf.havleik.no (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id iB6Coiqv022707 for ; Mon, 6 Dec 2004 13:50:45 +0100 Message-ID: <41B455F3.5040502@havleik.no> Date: Mon, 06 Dec 2004 13:52:03 +0100 From: =?ISO-8859-1?Q?Bj=F8rn_T_Johansen?= Organization: Havleik Consulting User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Strange change in my where clause? X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Havleik-MailScanner-Information: Please contact Havleik Consulting for more information X-Havleik-MailScanner: Found to be clean X-MailScanner-From: btj@havleik.no X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/45 X-Sequence-Number: 11711 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@havleik.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" -----------------------------------------------------------------------------------------------