Here comes a question: how to SELECT N records starting from position X? For example: gimme records between 91 and 100. I'd like to "skip" first X records from pure SQL, not using ADO & stuff.
Postgres and mySQL can do it. Oracle and DB/2 can do it w/ simple tricks (ROWNUM/OLAP functions). SQL2k has only SELECT TOP. Obviously, it always has to materialize X+N records... Is there any performance benefit by doing that?
Postgres and mySQL can do it. Oracle and DB/2 can do it w/ simple tricks (ROWNUM/OLAP functions). SQL2k has only SELECT TOP. Obviously, it always has to materialize X+N records... Is there any performance benefit by doing that?