hexdecimal constant in postgresql

Поиск
Список
Период
Сортировка
От Chris
Тема hexdecimal constant in postgresql
Дата
Msg-id 1090844178.5246.85.camel@dell
обсуждение исходный текст
Ответы Re: hexdecimal constant in postgresql  (Chris <list@1006.org>)
Список pgsql-novice
hello,

i was wondering how to specify hexadecimal constants in
SQL in a way that postgresql understands.

something like:

select 0xFFFF;   -- this doesn't work;

I've googled for it and i've found it can be done with
encode/decode involving a bytea type - but i'm under
the impression there must be a more straightforward way...

Bye, Chris.



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

Предыдущее
От: Oliver Fromme
Дата:
Сообщение: Re: PyPgSQL help
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: help with conversion functions