如何用sql 查出一条记录中有全角字符?

2025-03-25 12:54:18
推荐回答(1个)
回答1:

做一个函数,参数为str:
1、循环取str中每个字符,char = substring(str, i, 1)
2、判断char是否为全角:转换成int,》128则为全角,返回1