Refactored SQLBuilder.
Refactored SQLBatchBuilder.