Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11571

Split data into a multiple row

$
0
0
UnitnumberNumber
#201-12/141
#101-34to 372

Output:

UnitnumberNumber
#201-121
#201-131
#201-141
#101-342
#101-352
#101-362
#101-372

I used the string_split function but it's not useful.

In sql server, I want to split a data such as #101-33to 37

so my output will be

#101-33

#101-34

#101-35

#101-36

#101-37


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>