CHARINDEX
Last updated
Last updated
Returns the index of the first occurrence of the specified value sent as a parameter when it matches (CHARINDEX in Transact-SQL).
CHARINDEX( expression_to_find, expression_to_search [, start] )
Code:
SELECT CHARINDEX('t', 'Customer') AS MatchPosition;
Result:
INDEX|
-----------+
33|