Re: casting from integer to boolean
От | Seb |
---|---|
Тема | Re: casting from integer to boolean |
Дата | |
Msg-id | 87abklqfwd.fsf@patagonia.sebmags.homelinux.org обсуждение исходный текст |
Ответ на | casting from integer to boolean (Seb <spluque@gmail.com>) |
Ответы |
Re: casting from integer to boolean
Re: casting from integer to boolean Re: casting from integer to boolean Re: casting from integer to boolean |
Список | pgsql-general |
On Wed, 26 Mar 2008 15:11:47 -0700, "Richard Broersma" <richard.broersma@gmail.com> wrote: [...] > INSERT INTO my_table (var_bool) VALUES ( CAST( 0 AS BOOLEAN )); or > INSERT INTO my_table (var_bool) VALUES (0::BOOLEAN); Thanks Richard. Is there a way to do it without changing the INSERT command? As I mentioned, there are many more columns of different types, so finding and replacing the VALUES would be very difficult. -- Seb
В списке pgsql-general по дате отправления: