Updated DataSelect, getSqlString() uses sql->getSqlStringForSqlObject()