Problem of Null Ordering - Mailing list pgsql-general

From Harry Yau
Subject Problem of Null Ordering
Date
Msg-id 3DEC75A5.D544E5D@regaltronic.com
Whole thread Raw
Responses Re: Problem of Null Ordering  (Dennis Björklund <db@zigo.dhs.org>)
List pgsql-general
Hi all,
I got some problem with the ordering.
I have a table which have a integer field , namely IF1, which is able to
have  NULL value.
When I query this table and Order by IF1, the row that have the value of
NULL will come after the row that have a number value. I am wondering is
there anything I can do to make the row with Null value come before the
row with a number value. (Same as other RDBMS does - Sybase, MYSQL etc.)
Be more specified, I want to do something in the DBMS level instead of
doing some union queries. And apply this standard to all other query and
table in PGSQL.
Thank In Advance.

Harry Yau  ( ^_^ )




pgsql-general by date:

Previous
From: Neil Conway
Date:
Subject: Re: What could cause total crash of a postgres
Next
From: Jean-Christian Imbeault
Date:
Subject: Re: Problem of Null Ordering