How Do I Split a Delimited String in SQL Server Without Creating a Function?

前端 未结 11 1724
慢半拍i
慢半拍i 2020-11-29 08:28

I\'m working with a SQL Server database. I have a column which contains a delimited list, and I need to write a query which splits the values of the list into rows. From bro

11条回答
  •  萌比男神i
    2020-11-29 09:23

    Here's a user-defined parsing function that enables SQL Server that also performs similarly to the VB "Split" function. Designed for interactive leveraging; for example, to parse data within a Stored Procedure called from an external API.

    https://gallery.technet.microsoft.com/scriptcenter/User-def-function-enabling-98561cce

提交回复
热议问题