Don't use QSqlQuery::size because it may not be supported by all platforms/databases