Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to assert that your SQL does not do full table scans.
Also, if your table is sufficiently small, a clever database would prefer a table scan instead of using the index, rendering the check useless.
The only sane way it to check with a representative amount of data.
There are no comments on this comment yet.
Also, if your table is sufficiently small, a clever database would prefer a table scan instead of using the index, rendering the check useless.
The only sane way it to check with a representative amount of data.