Re: casting from integer to boolean

Поиск
Список
Период
Сортировка
От Seb
Тема Re: casting from integer to boolean
Дата
Msg-id 8763v9qeou.fsf@patagonia.sebmags.homelinux.org
обсуждение исходный текст
Ответ на casting from integer to boolean  (Seb <spluque@gmail.com>)
Список pgsql-general
On Wed, 26 Mar 2008 17:34:59 -0500,
"Adam Rich" <adam.r@sbcglobal.net> wrote:

[...]

> Can you import the data into a holding table (with columns defined as
> integer) first, and then use a SQL statement to insert from there into
> the final destination table (casting in the process) ?

Yes, that would be possible, but then I would have to know which columns
need to be casted back into boolean.  I might find a way to do that
though.  Thanks.


--
Seb

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

Предыдущее
От: "Richard Broersma"
Дата:
Сообщение: Re: casting from integer to boolean
Следующее
От: Tom Lane
Дата:
Сообщение: Re: casting from integer to boolean