Working with DB2 and PHP, my ADDs and DROPs take a long time to finish (30 seconds per ADD and DROP). I am curious if there is a way to send my ADDs and DROPs to the database w
A simple solution is cron to schedule your tasks
http://articles.sitepoint.com/article/introducing-cron
Schedule all the sql scripts you want to run at a predetermined time.