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!

(Phone) Number Validation.

638022Dec 3 2009 — edited Dec 8 2009
Hi

I want a procedure that accepts number as input and a return flag as out param.
f the given input number in any of the below formats then return flag is 'Y' else 'N'
(xxx)xxx-xxxx
xxx-xxx-xxxx
xxxxxxxxxx

ie) To validate the given phone numbers are only in above formats.

Please advice me.
Thanks
Johney

Edited by: Johney on Dec 8, 2009 12:46 AM

Edited by: Johney on Dec 8, 2009 2:17 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2010
Added on Dec 3 2009
5 comments
1,212 views