你试试这样行不行declare @count int declare @i intset @count=0while @count=0begin set @count=(select count(*) from A where Name like '%,%')end