I don't know how well PATINDEX() would perform compared to this SQL that uses the set processing strengths of the engine.
Performance can be quite counter intuitive and isn't always the simplest code that wins.
I would be very interested in the comparative speeds.
This query does a Cartesian...