How to write dynamic statement with way do it run quickly?

So only 5 rows in SplitNumberAndUnitsFinal?