4 ms·
Oracle has `SAMPLE(N)` which can come after a table name to get N records from the table. I believe it's built specifically to be performant for this kind of th
by jjice 3y ago
Oracle has `SAMPLE(N)` which can come after a table name to get N records from the table. I believe it's built specifically to be performant for this kind of thing. That said, it's the only case I've heard of and only because of an aside in a book a while ago.
https://stackoverflow.com/a/22822473/9939508 https://stackoverflow.com/a/22822473/9939508