sql server search for character in table code example Example: locate sql server SELECT CHARINDEX('b','ab') //returns 2