About 3,530,000 results
Open links in new tab
  1. How to Split Single Column Values to Multiple Columns in SQL

    Mar 26, 2025 · In this article, we discussed splitting single-column values into multiple-columns in SQL, focusing on the MySQL, PostgreSQL, and SQL Server databases. In MySQL, we looked …

  2. sql - How to split a single column values to multiple ... - Stack Overflow

    Mar 12, 2017 · this will help you to split string by deliminater and able to store only selected values. CATEGORY | SUB_CATEGORY ----- MOBILE | HHP this is not return table value …

  3. SQL - Splitting string in multiple columns - Stack Overflow

    Oct 25, 2020 · Here is one way to do it using JSON functions: The trick is to manipulate the string to make it look like a JSON array (that' what the cross apply subquery does). Basically this …

  4. sql - How to split a comma-separated value to columns - Stack Overflow

    May 14, 2012 · STRING_SPLIT() is only really useful in SQL Server 2022 and above with the use of the enable_ordinal = 1 option. The STRING_SPLIT() results can then be used with a PIVOT …

  5. Split Delimited String into Columns in SQL Server

    Dec 30, 2024 · Learn how to parse or split SQL Server strings from one column into multiple columns using the parsename and other T-SQL functions.

  6. STRING_SPLIT (Transact-SQL) - SQL Server | Microsoft Learn

    Oct 30, 2023 · STRING_SPLIT inputs a string that has delimited substrings and inputs one character to use as the delimiter or separator. Optionally, the function supports a third …

  7. How to Split a Delimited String to Access Individual Items in SQL ...

    Mar 26, 2024 · Here's how you can accomplish this using three methods: 1. String Functions. SUBSTRING and LOCATE: This method involves SQL string manipulation functions to extract …

  8. Can we apply String_Split function on multiple columns in SQL?

    Nov 22, 2022 · SELECT id,Country_Name,V.VALUE AS YearofWinner,ROW_NUMBER()OVER(PARTITION BY id ORDER BY YearofWinner) RNum1 …

  9. Split delimited text into columns in SQL Server - T-SQL - SQL

    Oct 30, 2023 · This tutorial is about how to split a delimited text into multiple independent columns with SQL Server. Working with comma or semi-colon delimited data often requires efficient …

  10. How to Split a String in SQL Server - LearnSQL.com

    The STRING_SPLIT(string, separator) function in SQL Server splits the string in the first argument by the separator in the second argument. To split a sentence into words, specify the sentence …

Refresh