Re: How to cast VARCHAR to BYTEA and vice-versa?

Поиск
Список
Период
Сортировка
От Ragnar Hafstað
Тема Re: How to cast VARCHAR to BYTEA and vice-versa?
Дата
Msg-id 1110789993.12425.16.camel@localhost.localdomain
обсуждение исходный текст
Ответ на How to cast VARCHAR to BYTEA and vice-versa?  ("Moran.Michael" <Michael.Moran@IGT.com>)
Список pgsql-sql
On Tue, 2005-03-08 at 07:31 -0800, Moran.Michael wrote:
> Hello all,
>  
> I have a table with a VARCHAR column that I need to convert to a BYTEA.
>  
> How do I cast VARCHAR to BYTEA?

have you looked at the encode() and decode() functions ?
http://www.postgresql.org/docs/7.4/interactive/functions-string.html

gnari




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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: finding schema of table that called a trigger
Следующее
От: PFC
Дата:
Сообщение: Re: group by before and after date