Don't want blank data

Поиск
Список
Период
Сортировка
От David Olbersen
Тема Don't want blank data
Дата
Msg-id Pine.LNX.4.31.0101251101570.15177-100000@bubbles.electricutopia.net
обсуждение исходный текст
Ответы Re: Don't want blank data
Re: Don't want blank data
Список pgsql-sql
Greetings, Is there a way to have postgresql always return a value for each row requested? To be more clear, if I were
usinga Perl SQL hybrid I would write something like
 
 SELECT computer_ip or 'unset' FROM computers;
 So that if computers.computer_ip is NULL or '' I will get 'unset' back from the database. I hope this makes sense and
somebodycan point me in a good direction
 

-- Dave



В списке pgsql-sql по дате отправления: