摘要:
USE [YQOBS]GO/****** Object: StoredProcedure [dbo].[PageList] Script Date: 11/06/2014 11:39:35 ******/SET ANSI_NULLS OFFGOSET QUOTED_IDENTIFIER OF... 阅读全文
摘要:
SELECT TOP 显示数量* FROM 表 WHERE (主键id>(SELECT MAX(主键id) FROM(SELECT TOP 页码数*显示数量 主键id FROM 表 ORDER BY 主键id) as t ) )ORDER BY主键id注:如果页码数为第一页,则不要where条件,... 阅读全文