Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Performance & Availability
Berkeley DB Family
This discussion is archived
on Feb 16, 2012 4:55 PM by 918041
Need explanation of to_number behavior
Feb 16, 2012 4:55 PM
Can somebody explain the why the following queries fail for to_number ?
SELECT to_number('1,9,1134','9,99,9999') from dual; -> fails
SELECT to_number('1,194,1134','09,99,9999') from dual; -> fails
SELECT to_number('11,9,1134','99,99,9999') from dual; -> fails
SELECT to_number('1,11,134','9,99,9999') from dual; -> fails
The queries below work and it makes sense to me.
SELECT to_number('1,134','9,99,9999') from dual; -> working
SELECT to_number('1,,1134','9,99,9999') from dual; -> working
If someone can point to me to some documentation where the behavior is explained that would be great too.
I have the same question
Show 0 Likes
This content has been marked as final.
Show 0 replies