declare @title varchar(100)
set @title='my test csdn,where test abc'
SELECT keycount=(len(@title)-len(replace(@title,'test','')))/len('test')
查找字符串并统计
最新推荐文章于 2022-12-15 08:04:51 发布
declare @title varchar(100)
set @title='my test csdn,where test abc'
SELECT keycount=(len(@title)-len(replace(@title,'test','')))/len('test')