Найдите SQL Server
SELECT CHARINDEX('b','ab') //returns 2
Misty Mongoose
SELECT CHARINDEX('b','ab') //returns 2