SQL语句 查询同一个字符在某一个字符串中出现的次数

select len(replace(字段名A,';','--'))-len(字段名A) from table表名

原文地址:https://www.cnblogs.com/niuniu0108/p/7306330.html