>Can you also test this performance wise using original function approach and using new CROSS APPLY approach and also using Borislav's code?
>
>Just curious for performance.
Here it is. In attachment, the first one is yours. The second one is Borislav. The last one is the from the UDF.
In the one from the UDF, the rest down below are all 0%, which is related to the UDF.