• Hi

    many thanks for your help. There is no SSRS, hence I am trying to do it in T-SQL so that they can run it and export to excel.

    Thanks