| От | Harry Yau |
|---|---|
| Тема | Problem of Null Ordering |
| Дата | |
| Msg-id | 3DEC75A5.D544E5D@regaltronic.com обсуждение исходный текст |
| Ответы |
Re: Problem of Null Ordering
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера