Batch insert to SQLite database