摘要: 分頁的時候,調用只需要用INCLUDE進來就可以了 0 then%> 1 then%> 1 then%> ?&p=1" title="第一頁">9 ?&p=" title="上一頁">7 allpage... 阅读全文
posted @ 2007-08-23 23:49 Athrun 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1,利用SQL SERVER游標,這种方法的優點:適用性比較強,性能不是很好.存儲過程如下: CREATE PROC SP_PageView @Sql varchar(8000), ---SQL語句 @PageCurNum int=1, ---當前頁,如果為空則為第一頁 @PageSize int=10 ---每頁行數,黑認為10 as set nocount o... 阅读全文
posted @ 2007-08-23 23:45 Athrun 阅读(262) 评论(0) 推荐(0) 编辑
摘要: System stored procedures This document contains information on undocumented stored procedures in Microsoft SQL Server. Name Function ... 阅读全文
posted @ 2007-08-23 08:49 Athrun 阅读(623) 评论(1) 推荐(0) 编辑