Re: If function available?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: If function available?
Дата
Msg-id 20011120131016.T75685-100000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Re: If function available?  ("Josh Berkus" <josh@agliodbs.com>)
Ответы Re: If function available?  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
Список pgsql-novice
On Tue, 20 Nov 2001, Josh Berkus wrote:

> You want CASE, as in:
> CASE WHEN field1 = 1 THEN NULL ELSE field1 END
>
> See Postgresql.org --> Documentation --> SQL Commands --> SELECT for
> more information, or consult your favorite SQL92 manual.

No luck. Neither the online "\h select" or the online docs at the web site
even mention CASE.

Tried searching for an online SQL 92 manual and didn't find any.

Any pointers on how to use the CASE statement or a URL for a general SQL
92 reference?


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

Предыдущее
От: Brian
Дата:
Сообщение: Re: Emergency backup question.
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: If function available?