SQL 算出一个字符串逗号隔开的字符串数量

SELECT [Keyword_Name] as 关键词
      ,len([SearchEngine_GPID])-len(replace([SearchEngine_GPID],',',''))+1 as 媒体个数
  FROM [IWT_Keyword]

GO

你可能感兴趣的:(SQL,█小小代码)