About 19,100 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. SqlFunctions.CharIndex Method (System.Data.Entity.SqlServer)

    static member CharIndex : string * string * Nullable<int> -> Nullable<int> Public Shared Function CharIndex (toFind As String, toSearch As String, startLocation As Nullable (Of Integer)) As Nullable …

  3. String Functions (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · String Functions (Transact-SQL)All built-in string functions except FORMAT are deterministic. This means they return the same value any time they are called with a specific set of …

  4. CHARINDEX (Transact-SQL) - SQL Server | Microsoft Learn

    CHARINDEX realiza comparaciones basadas en la intercalación de entrada. Para realizar una comparación en una intercalación especificada, use COLLATE para aplicar una intercalación …

  5. SqlFunctions.CharIndex Method (System.Data.Objects.SqlClient)

    CharIndex(string toSearch, string target, int? startLocation); [<System.Data.Objects.DataClasses.EdmFunction ("SqlServer", "CHARINDEX")>] static member …

  6. SQL SERVER CHARINDEX Function - Microsoft Q&A

    Mar 3, 2021 · WHEN CHARINDEX('101', LoanSuffix) > 0 THEN RTRIM(LEFT(LoanSuffix, CHARINDEX('101', LoanSuffix) - 1)) WHEN CHARINDEX('102', LoanSuffix) > 0 THEN …

  7. SqlCeFunctions.CharIndex Method …

    static member CharIndex : string * string * Nullable<int> -> Nullable<int> Public Shared Function CharIndex (toFind As String, toSearch As String, startLocation As Nullable (Of Integer)) As Nullable …

  8. SSRS error : "Invalid length parameter passed to the LEFT or …

    Apr 4, 2023 · CHARINDEX will return 0 if no spaces are in the string and then you look for a left of -2 length. You could add conditionality like Jingyang Li mentioned in the code.

  9. 字符索引 (Transact-SQL) - SQL Server | Microsoft Learn

    如果 expressionToFind 或 expressionToSearch 運算式具有 Unicode 資料類型 (nchar 或 nvarchar),而另一個運算式沒有, CHARINDEX 則函式會將該其他運算式轉換成 Unicode 資料類 …

  10. PATINDEX (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · position -------- 8 PATINDEX works just like LIKE, so you can use any of the wildcards. You don't have to enclose the pattern between percents. PATINDEX('a%', 'abc') returns 1 and …