SQL Server

How to split a long SQL Server text into lines?

How to split a long SQL Server text into lines? The string to split can have a comma or a semicolon delimiter. Using an SQL Server query, you can cut a string compounded of text delimited by commas, semicolons, tabulations, dash, underscore, or even dots. It can basically be any