- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
通用存储过程分页(top max模式)(Common stored procedure paging (top Max mode))
通用存储过程分页(top max模式)(Common stored procedure paging (top Max mode))
- / * - - stored procedure page processing sun wei 2005-03-28. - - * /
/ * -- -- -- -- -- -- 2 points of data processing to query the first score according to the same as the half of the data after the query performance -- -- -- -- -- - * /
/ * -- -- -- -- -- -- dealing with paging storage process Bicycles are Distinct query function is added to the 2005-04-21 changes -- -- -- -- -- - * /
/ * -- -- -- -- -- -- dealing with paging storage process Bicycles are more than 2005-05-18 modified fields collation problems -- -- -- -- -- - * /
/ * -- -- -- -- -- -- dealing with paging storage process Bicycles are more than 2005-06-15 modified sort field changes -- -- -- -- -- - * /
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -disadvantages: relative to the previous not in version primary key can only be the integer field, such as the primary key for GUID type, please use the version of not in mode -- - * /
CREATE PROCEDURE dbo. Proc_ListPageInt
(
@tblname nvarchar (200) -- the connection of the table or multiple tables to display
@fldname nvarchar (500) = *, the list of fields to display
PageSize int = 10 - the number of records displayed on each page
Page int = 1 -- to show the record of that page
@pagecount int = 1 output, the total number of pages after paging
Count int = 1 output, - the number of records to be found
@fldsort nvarchar (200) = null, - sort field list or condition
@ Sort bit = 0, sorting method, 0 for ascending, 1 in descending order (if a Sort number field arrangement is to refer to the last Sort the order of the fields (the last Sort field without sorting tags), program and parameter such as: SortA Asc, SortB Desc, SortC)
The @strcondition nvarchar (1000
您可能关注的文档
- 衡阳到张家界自助游攻略(Hengyang to zhangjiajie self-help tour guide).doc
- 补贴厂家(Subsidize manufacturers).doc
- 衣柜内部结构尺寸(The internal structure of the wardrobe).doc
- 补漏知识(Bare knowledge).doc
- 表一 旬阳县2009年元至6月重点项目建设进度一览表(Table 1 list of the construction progress of key projects from 2009 to June in xunyang county).doc
- 袁郑健思路(Yuan zheng jianjian thought).doc
- 表面光洁度表示符号(Surface finish is the symbol).doc
- 装修!什么是简洁,大方,而有内涵(Decorate! What is simplicity, generosity, and meaning).doc
- 装修后很容易后悔的80件事,装修前必看(The 80 thing that is easy to regret after decorating, decorate before to see).doc
- 装修施工工艺大全(The decoration construction process is complete).doc
- 通用技术教师应具有四种意识学习实践科学发展观(General technical teachers should have four kinds of consciousness to learn the scientific outlook on development).doc
- 通用技术会考分享(Common technology will be Shared).doc
- 通用机械(General machinery).doc
- 通信工程专业方向(Professional direction of communication engineering).doc
- 通用键盘快捷键(Universal keyboard shortcuts).doc
- 通胀与通缩(Inflation and deflation).doc
- 通过词缀认识单词8(Recognize the word 8 through affixes).doc
- 通风设备(Ventilation equipment).doc
- 速录练习 单字熟打(Practice single word practice in quick recording).doc
- 通风设计(Ventilation design).doc
文档评论(0)