SyntaxFix
Write A Post
Hire A Developer
Questions
If you want a % symbol in search_criteria to be treated as a literal character rather than as a wildcard, escape it to [%]
%
search_criteria
[%]
... where name like '%' + replace(search_criteria, '%', '[%]') + '%'