About 2,120,000 results
Open links in new tab
  1. CHARINDEX (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · CHARINDEX performs comparisons based on the input collation. To perform a comparison in a specified collation, use COLLATE to apply an explicit collation to the input.

  2. SQL Server CHARINDEX () Function - W3Schools

    Definition and Usage The CHARINDEX () function searches for a substring in a string, and returns the position. If the substring is not found, this function returns 0. Note: This function performs a …

  3. SQL Server CHARINDEX () Function

    In this tutorial, you will learn how to use the SQL Server CHARINDEX () function to search for a substring in a string.

  4. SUBSTRING, PATINDEX and CHARINDEX string functions in SQL

    In this article, we will explore SUBSTRING, PATINDEX and CHARINDEX string functions for SQL queries. While working with the string data, we perform various calculations, analytics, search, …

  5. Master SQL Server CHARINDEX: Find Substring Positions in T-SQL

    Jun 11, 2025 · Learn how to use the SQL Server CHARINDEX function to locate substrings, handle case sensitivity, specify start positions, and streamline string manipulation in your T …

  6. SQL CHARINDEX Function Use and Examples - SQL Server Tips

    Apr 23, 2025 · Learn how to use the SQL Server CHARINDEX function along with several examples of how this might be used.

  7. SQL Server: CHARINDEX Function - TechOnTheNet

    SQL Server: CHARINDEX Function This SQL Server tutorial explains how to use the CHARINDEX function in SQL Server (Transact-SQL) with syntax and examples.

  8. CHARINDEX () Function in SQL Server — Syntax and Examples

    Feb 27, 2025 · Discover SQL Server's CHARINDEX () function with clear examples. Learn to locate text patterns, apply case sensitivity and handle advanced use cases in SQL.

  9. SQL Server CHARINDEX() Function: Returns Starting Index of …

    The CHARINDEX () function returns the starting position of the substring or character in another string. It returns 0 if substring is not found.

  10. CHARINDEX () in SQL: Examples, Use Cases & Error Handling

    What is CHARINDEX () in SQL? The CHARINDEX() function in SQL returns the starting position of a specified substring within a given string. The position is 1-based, meaning the first …