Hi,
Yes, i saw the solution. The reason i'm stubborn is that it works fine if i call different inline TVFs inside each other, as i demonstrated with my second script.
If my syntax is incorrect, i should then be given an error there as well.
But anyway, i will use the CROSS APPLY syntax so we can "close" this issue 🙂