We can use either count(<column_name>) or system tables to get the number of rows in a table.
Then where to use which one?
Thanks Devi
Use the system tables/planer estimates when a (quick) approximate number of rows is acceptable. This requires that the table stats are reasonably accurate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With