On Sun, 19 Aug 2001 20:59:35 +0000 (UTC), omid omoomi <[EMAIL PROTECTED]>:
> hi all,
> I have pg 7.0.3 installed. I can use ascii() to get the ascii code of a 
> character but I can not use chr() to reverse the function... is it a matter 
> of the pg version I have? If so, is there any other way to get the text from 
> the ascii number?

Hmm.. works in 7.1.2:

select chr(65);

 chr
-----
 A
(1 row)


Have you tried it like that (selecting a constant?) Maybe it is
a problem with coercing the argument to the proper type...

Could also be new in 7.1  I do not know.


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to