摘要: 1.对于SQL2000和SQL2005实用的分页方法一:SELECTTOP页大小*FROMtable1WHEREidNOTIN(SELECTTOP页大小*(页数-1) idFROMtable1ORDERBYid)ORDERBYid方法二:SELECTTOP页大小*FROMtable1WHEREid>(SELECTISNULL(MAX(id),0) FROM ( SELECTTOP页大小*(页... 阅读全文
posted @ 2010-10-06 13:32 yu_liantao 阅读(420) 评论(0) 推荐(0) 编辑