Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Khamis, using Informix 9.4, asked how to get the ASCII code of a character in a stored procedure because the ORD function was reported as unknown. After a repeat request, rkusenet said to write your own ORD function, mentioned he had posted the code before, and pointed to the Google archives. No code was given in the thread.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Hi,
I'm using Informix 9.4. I want to get the ascii code of a character in
a stored procedure. Using the function "ORD" produces an error about
unknown function. Is there any other way to get the ascii code?
thanks
khamis
Hi Informix Experties,
I'm still looking for a solution. Please provide me with some hints.
thanks
khamis
Khamis wrote:
> Hi,
>
> I'm using Informix 9.4. I want to get the ascii code of a character in
> a stored procedure. Using the function "ORD" produces an error about
> unknown function. Is there any other way to get the ascii code?
>
> thanks
> khamis
You can always write your own ORD. I have posted the code before.
check google archives.
"Khamis Diab" <khamis@web.de> wrote in message news:408BBDC3.3030508@web.de...
> Hi Informix Experties,
>
> I'm still looking for a solution. Please provide me with some hints.
>
> thanks
> khamis
>
> Khamis wrote:
> > Hi,
> >
> > I'm using Informix 9.4. I want to get the ascii code of a character in
> > a stored procedure. Using the function "ORD" produces an error about
> > unknown function. Is there any other way to get the ascii code?
> >
> > thanks
> > khamis
>
You can always write your own ORD. I have posted the code before.
check google archives.
"Khamis Diab" <khamis@web.de> wrote in message news:408BBDC3.3030508@web.de...
> Hi Informix Experties,
>
> I'm still looking for a solution. Please provide me with some hints.
>
> thanks
> khamis
>
> Khamis wrote:
> > Hi,
> >
> > I'm using Informix 9.4. I want to get the ascii code of a character in
> > a stored procedure. Using the function "ORD" produces an error about
> > unknown function. Is there any other way to get the ascii code?
> >
> > thanks
> > khamis
>
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.