Reputation: 159
i am trying to split String into multiple row using cross apply is it possible to use the cross apply in SQL server 2017? how to replace cross apply?
Upvotes: 1
Views: 239
Reputation: 1271023
You can use string_split()
and apply
:
select . . .
from t cross apply
string_split(t.col, ',');
Upvotes: 3