How to implement database engine independent paging? -


task: implement paging of database records suitable different rdbms. method should work mainstream engines - mssql2000+, oracle, mysql, etc.

please don't post rdbms specific solutions, know how implement of modern database engines. i'm looking universal solution. temporary tables based solutions come mind @ moment.

edit:
i'm looking sql solution, not 3rd party library.

there have been universal solution if sql specifications had included paging standard. requirement rdbms language called rdbms language not include paging support well.

many database products support sql proprietary extensions standard language. of them support paging mysql limit clause, rowid oracle; each handled differently. other dbms's need add field called rowid or that.

i dont think can have universal solution (anyone free prove me wrong here;open debate) unless built database system or unless there company abc uses oracle, mysql, sql server , decide have various database systems provide own implementation of paging database developers providing universal interface code uses it.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -