Click here to Skip to main content
15,885,869 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i want to validate three conditions in mobile number using sql server as follows;


The mobile number should not start with number zero.
The mobile number should not be null
The mobile number should not exceed 10 digits


The datatype is varchar.
for that how can i validate using sql query.
please help me

Rgds,
Narasiman P.
Posted

1 solution

Do not re-post questions, it is against the rules of this community. Your question is still on the first page try waiting. If you want to add more information to the first question, click the "Improve question" link on it.
 
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