使用charindex代替like搜尋

使用charindex代替like搜尋

 

select * from tableName where charindex('%',fieldName) > 0