Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

counting no of digits in a string

1043556Dec 17 2013 — edited Dec 17 2013


Hi all,

Could you please help me on below mentioned one

i need count of digits in the given string

str='' my contact number is 1234567890''

i tried like this

select regexp_count( str,\d) from dual;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2014
Added on Dec 17 2013
9 comments
1,531 views