locate sql server
snippet in sql

locate sql server

user5540

SELECT CHARINDEX('b','ab') //returns 2