select * from num where length(newnum) = 15   //指定字符串长度



select * from num where newnum not REGEXP '[0-9]{18}|[0-9]{17}X|[0-9]{15}'//使用正则



update num set newnum = upper(newnum) where newnum like '%x' //将字母大写

  

posted on 2019-04-24 08:57  chenlw101  阅读(97)  评论(0编辑  收藏  举报