Is there a way to replace select * fields in result ?

Поиск
Список
Период
Сортировка
От Condor
Тема Is there a way to replace select * fields in result ?
Дата
Msg-id 37a2bc0c7c8e90ea7620297e8d23515a@stz-bg.com
обсуждение исходный текст
Ответы Re: Is there a way to replace select * fields in result ?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Is there a way to replace select * fields in result ?  (Alban Hertroys <haramrae@gmail.com>)
Список pgsql-general
Hello,

Is there a way to replace select * fileds in result ?
I have select qw.* from table but I want field for example mm to be 
replaced with custom value like:

select qw.*, case whem length(qw.mm) > 0 THEN COALESCE(SUBSTRING(qw.mm, 
1, 1), '') ELSE qw.mm END AS qw.mm

Is there some way to do that ?

Regards,
HS



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

Предыдущее
От: Jehan-Guillaume de Rorthais
Дата:
Сообщение: Re: bottom / top posting
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Is there a way to replace select * fields in result ?