insert into table (column) values (nullif('',''));

Поиск
Список
Период
Сортировка
От Matt A.
Тема insert into table (column) values (nullif('',''));
Дата
Msg-id 20050821172143.85118.qmail@web35207.mail.mud.yahoo.com
обсуждение исходный текст
Список pgsql-patches
insert into table (column) values (nullif('',''));
ERROR: column "column" is of type boolean but
expression is of type text.

inserting NULL works. nullif('','') should return NULL
if both values are equal? It works in MSSQL.

Is there different function to accomplish a insert
nullif('','') test.

Thanks
Matt





____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Следующее
От: "John Hansen"
Дата:
Сообщение: Re: insert into table (column) values (nullif('',''));