摘要: 随着数据库的发展,如今的数据库可以储存大量的数据,内存也是越来越大,但是无论您的内存多大,内存总是显得不够用,这时就要涉及到分页,下文中将为大家带来详细的数据库分页操作。 1.Oracle:12select * from ( select row_.*, rownum rownum_ from ( query_SQL ) row_ where rownum == min 2.SQL Server:12select top @pagesize * from tablename where id not in(select top @pagesize*(@page-1) id from tab.. 阅读全文
posted @ 2014-03-04 09:00 Ranran 阅读(568) 评论(0) 推荐(0) 编辑