str to SQLBatch