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.
Mike Mohr — — source: Informix-list mailing list archive (1991-1998)
I need to write a stored procedure that will convert a
long value into a 3 character base 36 string. The 36
digits are 0123456789ABCD...Z. An example would be
that the number 13330 would be converted to "AAA".
This can be shown:
(10 X 36squared) + (10 X 36) + (10 X 1) = 13330
'A' 'A' 'A' = "AAA"
Thanks,
Mike
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.