Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To_char format

Status
Not open for further replies.

anju123

Programmer
Jun 6, 2003
33
0
0
CA
Hi! can anyone help me in finding out the reason behind this cause. When I do
select length(to_char('23456','99999.99')) from dual;

LENGTH(TO_CHAR('23456','99999.99'))
-----------------------------------
9

it returns the length as 9, where as I am specifying the format to be 8 character.

Can anyone tell me what is the reason behind it?
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top