Re: How to store Byte strings into a table.

Поиск
Список
Период
Сортировка
От Sergey Konoplev
Тема Re: How to store Byte strings into a table.
Дата
Msg-id AANLkTimrNwHbiZmKWEO2oHtdE1z3l_onLAZW8oA5XkZX@mail.gmail.com
обсуждение исходный текст
Ответ на How to store Byte strings into a table.  (Trinath Somanchi <trinath.somanchi@gmail.com>)
Список pgsql-sql
On 5 July 2010 09:57, Trinath Somanchi <trinath.somanchi@gmail.com> wrote:
> Hi,
>
> How can I store Byte strings into a postgresql database.
>
> Is there any special command to store it. How will be the sql query.
>
> I have gone through this
> http://www.postgresql.org/docs/8.4/static/datatype-binary.html but have not
> seen any example for how to insert data into such a field.

Use octet-escaping to form the string to put in your SQL like it
described it the article you referenced.

>
> Please help me in this regard.
>
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
>



-- 
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray.ru@gmail.com / Skype: gray-hemp / ICQ: 29353802


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re:
Следующее
От: silly sad
Дата:
Сообщение: Re: