Maybe you could talk to your DBA about making it a stored procedure. I don't have any experience with running stored procedures so I don't know if that would help.
↧