Re: Convert int to hex

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Convert int to hex
Дата
Msg-id 429EB1DF.7060202@archonet.com
обсуждение исходный текст
Ответ на Convert int to hex  (Fernando Grijalba <fgrijalba@gmail.com>)
Список pgsql-sql
Fernando Grijalba wrote:
> I want to be able to change an int4 from a sequence and store it as
> varchar in the database as a hex number.
> 
> Is this possible?

Try the to_hex() function - in the "Functions and operators" chapter of 
the manual - "Strings" section.

--   Richard Huxton  Archonet Ltd


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