CharIndex()

(case when CharIndex('<img',[newstext])>0 then '1' else '0' end)

解释:  在 newstext这个字段列表里面 搜索 具有 '<img'  的字符串,并返回该字符串所在的位置。

原文地址:https://www.cnblogs.com/sunzhenyong/p/3457664.html