Re: How can I simply substatue a value in a query?

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: How can I simply substatue a value in a query?
Дата
Msg-id 001401c57b3e$12b5f2b0$5179f345@WATSON
обсуждение исходный текст
Ответ на How can I simply substatue a value in a query?  (Roy Souther <roy@SiliconTao.com>)
Список pgsql-sql

 
----- Original Message -----
Sent: Monday, June 27, 2005 1:16 PM
Subject: [SQL] How can I simply substatue a value in a query?

I want to do a simple substatution of a value in a query. For example I have a boolean field that wil return t or f for True and False. I would like it to return Yes or No. I don't want to have a 2x2 table to look up the output. I don't want to use stored procedue.

I think there is a better way, somthing very simple but I cannot remember what it is.
 
 
See CASE:
 
Sean
 

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

Предыдущее
От: "jimmy.olsen"
Дата:
Сообщение: pg_attribute.attlen -1 for varchar e pbchar fields
Следующее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: How can I simply substatue a value in a query?