Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Urgent Help
select initcap(to_char(to_date('150', 'J'), 'JSP')) from dual;
Works for numbers within the range of valid Julian dates.
Sarah <sarah_jessicaNOsaSPAM_at_hotmail.com.invalid> wrote:
: How can I convert number to character in Oracle.
: Ex.
: select comm from emp;
: Output
: comm
: ----
: 100
: 150
: Now I want to output as
: Comm
: ----
: One Hundred
: One Hundred and Fifty
: I tried with these
: Select to_char(comm) from emp;
: but this is gone in vain.
: Thanks
: Sarah
Received on Sun Mar 12 2000 - 00:00:00 CST