• Thanks for Replay but now i am getting this Error

    "Msg 205, Level 16, State 1, Procedure XXX#, Line 4

    All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists."

    Thanks!!!!