Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have to validate the input string

my input string is in varchar2 datatype and if the user inputs :

09090a779

than it should show error message :
"character not allowed"
Posted
Comments
OriginalGriff 21-Jun-14 6:53am    
And?
What have you tried?
Where are you stuck?
[no name] 21-Jun-14 7:16am    
Why? The user input string that you show here is perfectly valid for a varchar2.

1 solution

No, it should not show this message. It just makes no sense and would be a huge abuse. If you need to enter only digits, you probably need one of numeric types.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900