Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> JDBC: what exactly does nullsAreSortedHigh() return?

JDBC: what exactly does nullsAreSortedHigh() return?

From: Vikas Rana <vikasrana_at_techie.com>
Date: 2 Jun 2004 23:25:50 -0700
Message-ID: <f8961319.0406022225.3b5cfde0@posting.google.com>


Hi all,

  I am a bit confused about the method
java.sql.DatabaseMetaData.nullsAreSortedHigh(). What exactly does this return? If this returns true, are nulls considered as the highest value? Or does this mean that nulls comes first when sorted in ascending order (opposite in meaning to the first).

Consider this.

Now, behavior of Oracle and Postgres is same in terms of sort order, but they return different values.

Who is right? Received on Thu Jun 03 2004 - 01:25:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US