Converting Comma Separated Values into Rows – MS SQL Server with STRING_SPLIT Function



This video explains how to use the STRING_SPLIT function in SQL Server to convert the values into rows with any delimiter like empty space, commas, semicolon etc.

This is the reverse for converting multiple rows into comma separated values that I showed in another video:
https://www.youtube.com/watch?v=woEGUMAW4zg

STRING_SPLIT is a table valued function and can be used to return one column named “value”
SELECT * FROM STRING_SPLIT(‘This is a demo video on Splitstring function’, ‘ ‘);

Enjoy the video and learn how to use this practically in your daily job!