3 ms·
You should be able to do LIMIT in Oracle using http://www.oracle.com/technetwork/issue-archive/2006/06-sep/o56asktom-086197.html http://www.oracle.com/technetwo
by AlisdairO 13y ago
You should be able to do LIMIT in Oracle using http://www.oracle.com/technetwork/issue-archive/2006/06-sep/o56asktom-086197.html http://www.oracle.com/technetwork/issue-archive/2006/06-sep/... . If you want a standards-compliant way to do it, you can use the ROW_NUMBER() window function. This might not be as fast, but will work on virtually every DB except MySQL...
- willvarfar 13y agoYes I'm deep beyond correctness and now want to make it fast... Oracle is like COBOL; the only techies who like it are those whose job security depends upon it ;)