SELECT LEN(RequestedReportParams) - LEN(REPLACE(RequestedReportParams, ',', ''))FROM YourTableWHERE .....这只比较用给你差 (即数量的逗号) 中删除的逗号值的长度与用了的逗号的列的长度
SELECT LEN(RequestedReportParams) - LEN(REPLACE(RequestedReportParams, ',', ''))FROM YourTableWHERE .....