One using casts the string as XML and then parses the nodes to return a table and the other uses a very inefficient looping operation with charindex and substring. For performance reasons I’ve always used the XML function; but, with SQL 2016 I don’t ...
↧