• Cheers guys.

    The final code does include a Begin/End as part of the Table Valued Function so will be the same as you describe.

    I will use this going forward, thanks once again.