execSQL method

void execSQL()

Implementation

void execSQL() {
  checkPrepare();
  try {
    execute();
    // Always retrieve rows affected (original comment kept as-is)
    _statement.rowsAffected();
    if (_options.contains(TSQLQueryOption.sqoAutoCommit)) {
      sqlTransaction!.commit();
    }
  } finally {
    checkUnPrepare();
    // if not Prepared and (assigned(Database)) and (assigned(Cursor))
    // then SQLConnection.UnPrepareStatement(Cursor); (original comment kept as-is)
  }
}