SQL Server – Find occurrences of text in a string Posted by Ray Fox 0 select (LEN(@string)-LEN(REPLACE(@string,@strToFind,'')))/LEN(@strToFind)