我的个人博客:http://www.lovecoding.com.cn
摘要: Create Procedure usp_Paging1@tableName nvarchar(50),--要分页的表,如果是多表查询,请使用 Student,Score,Class的形式。@primaryKey nvarchar(20),--表的主键,该主键字段用于Row_Number函数的 ov 阅读全文
posted @ 2014-01-06 14:14 chenxin.dm 阅读(310) 评论(1) 推荐(0) 编辑
摘要: Create Procedure usp_Paging1@tableName nvarchar(50),--要分页的表,如果是多表查询,请使用 Student,Score,Class的形式。@primaryKey nvarchar(20),--表的主键,该主键字段用于Row_Number函数的 over(order by)中@orderCondition nvarchar(100),--排序条件,如 id desc,name asc@pageIndex int=1,--当前要先是的第几页,默认显示第一页@pageSize int=10,--每页大小,默认每页显示10条@pageConditio 阅读全文
posted @ 2014-01-06 14:10 chenxin.dm 阅读(405) 评论(0) 推荐(1) 编辑
我的个人博客:http://www.lovecoding.com.cn