| От | Joe Conway |
|---|---|
| Тема | Re: select null + 0 question |
| Дата | |
| Msg-id | 3F1249D3.1090303@joeconway.com обсуждение исходный текст |
| Ответ на | select null + 0 question (Jean-Christian Imbeault <jc@mega-bucks.co.jp>) |
| Ответы |
Re: select null + 0 question
|
| Список | pgsql-general |
Jean-Christian Imbeault wrote: > Shouldn't the sum() and "+" operators behave the same? No, see SQL99, Section 6.16, General Rules 1.b: "Otherwise, let TX be the single-column table that is the result of applying the <value expression> to each row of T and eliminating null values. If one or more null values are eliminated, then a completion condition is raised: warning — null value eliminated in set function." I've never seen a database that emits the required warning, though. Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера