In this step by step SQL Tutorial I will show you how to use SQL CHARINDEX function. For the purpose of this tutorial I will use SQL Server 2012.
Other Versions of SQL Server:
- SQL Server 2012
- This blog post has been written using SQL Server 2012
- SQL Server 2008 / R2
- The examples we used should work in SQL Server 2008 and R2
- SQL Server 2005
- We suspect that this will work in SQL Server 2005 as well
We can use CHARINDEX() function when we need to find position of a character(s) in a string (field).
CHARINDEX Function - Is used to find position of a character(s) in a string (field).
To get full access to this page
Become a member or Sign in
Membership is just $3.99/month