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?
In response to
pgsql-sql by date
|Next:||From: kumar||Date: 2004-04-27 12:26:04|
|Subject: How to get binary value for an Integer|
|Previous:||From: Richard Huxton||Date: 2004-04-27 12:06:42|
|Subject: Re: Proper SQL syntax requested|