sql语句实现隐藏手机号码中间四位的方法

1、select REPLACE(mobile,SUBSTR(mobile,4,4), '****') as mobile from tableName

2、select INSERT(mobile, 4, 4, '****') as mobile from tableName ;

posted @ 2016-12-16 16:41  yudis  阅读(6144)  评论(0编辑  收藏  举报