Hi all,
according to the SA 11 and above docs, there seems to be a (slight) difference between running
call sa_validate();
and
call sa_validate(null, null);
From the SA 11.0.1 docs:
If you specify sa_validate() (no arguments), the database server validates all tables, materialized views, indexes, checksums, and the database file.
If neither owner nor tbl_name are specified, all tables and materialized views in the database are validated. Also, the database itself is validated, including checksum validation, and validation that the number of rows in the each table or materialized view matches the number of rows in each associated index.
(Frankly, I can't tell whether both descriptions mean the same thing...)
But in my SQL understanding, both calls should do exactly the same, as all parameters of sa_validate are declared with null as default, and so both calls should be equivalent (and in my tests, they run equally long).
So what's the difference between both calls?