| От | vikasrana@techie.com (Vikas Rana) |
|---|---|
| Тема | JDBC: what exactly does nullsAreSortedHigh() return? |
| Дата | |
| Msg-id | f8961319.0406022225.3b5cfde0@posting.google.com обсуждение исходный текст |
| Ответы |
Re: JDBC: what exactly does nullsAreSortedHigh() return?
|
| Список | pgsql-general |
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. - Oracle returns false. Nulls are last when sorted in ascending order. - MSSQL2K returns true. Nulls are first when sorted in ascending order. - Postgres returns true. Nulls are last when sorted in ascending order. Now, behavior of Oracle and Postgres is same in terms of sort order, but they return different values. Who is right?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера