使用sql server验证手机号码 [英] validate the mobile number using sql server

查看:205
本文介绍了使用sql server验证手机号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用sql server验证手机号码中的三个条件,如下所示;





手机号码不应以号码开头零。

手机号码不能为空

手机号码不得超过10位





数据类型是varchar。

我怎么能用sql查询验证。

请帮帮我



Rgds,

Narasiman P.

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.

推荐答案

不要重新发布问题,这是违反规则的这个社区。您的问题仍然在第一页尝试等待。如果您想在第一个问题中添加更多信息,请点击其上的改善问题链接。
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.


这篇关于使用sql server验证手机号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆