Does SQLite support multi-line SQL statements via revExecuteSQL? You might try assembling the whole operation in a variable, BEGIN INSERT INSERT INSERT ... COMMIT and see how that flies