• Hi MadAdmin,

    Thanks for the response. It's an inline TVF (I.e SELECT...UNION ALL...SELECT etc)

    I'm currently working on the query performance and am nearly there, but thankyou for offering to help anyway 🙂