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

    Oct 30, 2023 · STRING_SPLIT is a table-valued function that splits a string into rows of substrings, based on a specified separator character. STRING_SPLIT requires the …

  2. sql - How do I split a delimited string so I can access individual ...

    Nov 2, 2015 · You may find the solution in SQL User Defined Function to Parse a Delimited String helpful (from The Code Project). You can use this simple logic: IF PATINDEX('%|%', …

  3. SQL Server STRING_SPLIT Function - SQL Server Tutorial

    This tutorial shows you how to use the SQL Server STRING_SPLIT() function to split a string into a row of substrings based on a specified separator.

  4. How to split strings in SQL Server - Stack Overflow

    if the values in column 1 are always one character long, and the values in column 2 are always 2, you can use the SQL Left and SQL Right functions: SELECT LEFT(data, 1) col1, RIGHT(data, …

  5. The STRING_SPLIT function in SQL Server - SQL Shack

    Dec 3, 2018 · In this article, we will discuss the STRING_SPLIT function, in particular. The purpose of this built-in string function is to convert string arrays to columns which are …

  6. sql - How do I split a string into 2 parts based on a delimiter ...

    One option here is to make use of SQL Server's base string functions SUBSTRING() and CHARINDEX() to split apart the two parts of Field1 on the pipe character. SUBSTRING(Field1, …

  7. SQL Server 2016 STRING_SPLIT Function

    May 17, 2017 · SQL Server 2016 introduced a new built-in table-valued function, STRING_SPLIT that splits the provided input string by a specified separation character and returns the output …

  8. STRING_SPLIT Function in SQL Server

    Dec 13, 2023 · In this SQL Server tutorial, you learned how to split the string into substrings using the STRING_SPLIT() function in SQL Server. Then, you learned how to include the order of …

  9. Understanding the STRING_SPLIT() Function in SQL Server

    Dec 2, 2023 · In SQL Server STRING_SPLIT() is a table-valued function that splits a string into rows of substrings, based on a specified separator character. Each substring is returned on its …

  10. T-SQL STRING_SPLIT function in SQL Server - T-SQL Tutorial

    STRING_SPLIT syntax. The syntax for the STRING_SPLIT function is as follows: STRING_SPLIT (string, separator) Where string is the input string that you want to split and separator is the …

  11. Some results have been removed
Refresh