Merging many tickets all at once

Hello,

Is there a way to merge many tickets all at once? I have some 40
tickets I like to merge into one. Would I have to go in the database
and make the change (not that I know how to do this either)? I’m still
using RT 2.0.15.

Thank you.
–Koji