问题
i got a column with a value something like this.
digits
1,2,3
12,4,5
3,45,56
and i want to split the value in the row into individual, is there any simple way to do this in SQL ? im using vb.net. thanks in advance
回答1:
TRY THIS:
SELECT GROUP_CONCAT((digits) SEPARATOR ', ') as digits FROM table
来源:https://stackoverflow.com/questions/27144096/is-there-a-way-to-split-a-string-in-sql