| От | Bruno Wolff III |
|---|---|
| Тема | Re: If test in sql?? |
| Дата | |
| Msg-id | 20010125094602.C12171@wolff.to обсуждение |
| Ответ на | Re: If test in sql?? ("Esa Pikkarainen" <epikkara@ktk.oulu.fi>) |
| Список | pgsql-general |
On Thu, Jan 25, 2001 at 10:01:21AM +0200, Esa Pikkarainen <epikkara@ktk.oulu.fi> wrote: > Thank you very much. Fine! Just two little questiton s more: > > 1) Can COALESCE take more than two alternatives? > > 2) Does it treat a zero length string as NULL or NOT NULL? Wouldn't it have been faster to fire up psql and try a select to see what the answer is than send a message to this list? COALESCE definitely works with more than 2 values, as I use it that way. '' should not be the same as a null, but I haven't actually tested this to make sure it works that way.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера