bug or feature, || -operator and NULLs
От | Andreas Joseph Krogh |
---|---|
Тема | bug or feature, || -operator and NULLs |
Дата | |
Msg-id | 200610181352.46620.andreak@officenet.no обсуждение исходный текст |
Ответы |
Re: bug or feature, || -operator and NULLs
Re: bug or feature, || -operator and NULLs Re: bug or feature, || -operator and NULLs |
Список | pgsql-hackers |
This has been been discussed before, but Oracle behaves differently, and IMHO in a more correct way. The following query returns NULL in PG: SELECT NULL || 'fisk'; But in Oracle, it returns 'fisk': SELECT NULL || 'fisk' FROM DUAL; The latter seems more logical... -- Andreas Joseph Krogh <andreak@officenet.no> Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc ------------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Karenslyst Allé 11 | know how to do a thing and to watch | PO. Box 529 Skøyen | somebody else doing it wrong, without | 0214 Oslo | comment. | NORWAY | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+
В списке pgsql-hackers по дате отправления: