Is it hard to store the batch here because it's changed while the batch is run? We only really need the sql statement text if that's easier.

We also need to store how many calls to voltExecuteSQL have been called.