Is there any way to find comma separated string in where clause in SQL

前端 未结 0 542
天涯浪人
天涯浪人 2021-02-02 08:45

I am looking a way to find out comma in a string in where clause.

DECLARE @List VARCHAR(max) = \'Hi, going, home for now\'
SELECT 
@List = COALESCE(@List + \',\')         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题