About 262,000 results
Open links in new tab
  1. sql - How to split a comma-separated value to columns - Stack …

    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 …

  2. sql server - Turning a Comma Separated string into individual rows ...

    Basically split my data at the comma into individual rows? I am aware that storing a comma-separated string into a relational database sounds dumb, but the normal use case in the …

  3. asp.net - How to separate (split) string with comma in SQL Server ...

    How to separate (split) string with comma in SQL Server stored procedure Asked 11 years, 6 months ago Modified 10 months ago Viewed 82k times

  4. sql server - T-SQL split string - Stack Overflow

    Jun 6, 2012 · I have a SQL Server 2008 R2 column containing a string which I need to split by a comma. I have seen many answers on StackOverflow but none of them works in R2. I have …

  5. How Do I Split a Delimited String in SQL Server Without Creating a ...

    My question, therefore, is this: How do I write a query to split a delimited string of more than 4 items without creating new objects in the database? EDIT: Thanks to everyone for the quick …

  6. sql server - SQL: Split comma separated string list with a query ...

    Here is my table structure: id PaymentCond 1 ZBE1, AP1, LST2, CC1 2 VB3, CC1, ZBE1 I need to split the column PaymentCond, and would love to do that with a simple sql query since I …

  7. sql server - Split a dynamic comma delimited string by fixed length ...

    May 10, 2025 · For splitting T-SQL, cut string into chunks of 35 characters without cutting words appears similar. And Split string in SQL Server to a maximum length, returning each as a row.

  8. t sql - t-sql Convert comma separated string into int, without using ...

    4 You're trying to convert not only a string to int, but several int s into one. Do you expect that your SELECT will return all employee's with and ID listed in the array? I realize that you wanted to …

  9. sql server - Store multiple comma separated strings into temp …

    Nov 25, 2018 · If you don't, to split strings in any version under 2016 I would recommend first to read Aaron Bertrand's Split strings the right way – or the next best way. IN 2016 you should …

  10. sql server - Split comma delimited string and insert to a table (int ...

    May 3, 2014 · Now I have 3 values, first and third values are int values (1 and 0), the second value is a comma delimited string ('188,189,190,191,192,193,194') what should be my …