可能重复:
T-SQL: Opposite to string concatenation - how to split string into multiple records
Split Function equivalent in tsql?
How Do I Split a Delimited String in SQL Server Without Creating a Function?
假设我有一个具有以下值的varchar:
'1:2:3:4:5'
我想写一个select语句,结果为:
1
2
3
4
5
这可能吗?感谢。