How to escape underscore character in PATINDEX pattern argument? February 19, 2023 by Tarik I’ve always done it with brackets: '%[_]%'