Re: Customised Encoding

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Customised Encoding
Дата
Msg-id 200404271309.55818.dev@archonet.com
обсуждение исходный текст
Ответ на Customised Encoding  ("kumar" <sgnerd@yahoo.com.sg>)
Список pgsql-sql
On Tuesday 27 April 2004 07:54, kumar wrote:
> Dear Friends,
>
> Postgres 7.3.2 Runing on Linux 7.2
>
> I would like to convert any values in between 1 to 2^16 into a single
> charactor. And decode that single char to get back the numeric value again.
> Any function to do that in Postgres SQL Server.

You could use unicode (e.g. UTF-8) encoding. I don't see what it gains you 
though. What do you hope to achieve by storing numerical data as characters?

--  Richard Huxton Archonet Ltd


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Proper SQL syntax requested
Следующее
От: "kumar"
Дата:
Сообщение: How to get binary value for an Integer