Run SQL commands one at at time to properly trap errors.