Hi,
I have a value say 99.0 in a NUMBER data typed column (value_number).
When I wanted to display it in my front end I am using query
select to_char(value_number) from xxcl_tbl;
this is resulting in invalid number ORA-01722
but if we select the same as like select to_char(99.0) from dual or select to_char('99.0') from dual; are working fine.
P.S : anything other than '0' after the decimal are working fine.
Any thoughts would be highly appreciated. I'm sorry if I am missing any basic funda of SQL.
Cheers,
-- Ram