But what happens if we try to use STRING_SPLIT with a multi-character separator, like this?
SELECT * FROM STRING_SPLIT(@GodawfulString, ‘,,’)
Msg 214, Level 16, State 11, Line 67
Procedure expects parameter ‘separator’ of type ‘nchar(1)/nvarchar(1)’.Ah. That’s a no, then.
Click through for the solution.