惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
D
Docker
有赞技术团队
有赞技术团队
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
H
Help Net Security
美团技术团队
MyScale Blog
MyScale Blog
B
Blog RSS Feed
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
G
Google Developers Blog
月光博客
月光博客
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs

博客园 - 黄毅.net

获取oracle 表字段,表名,以及主键之类等等的信息。 关于.net操作Oracle数据库,parameters参数顺序的问题。 .net 处理xml 查找节点 属性 添加节点 - 黄毅.net js显示日期 - 黄毅.net - 博客园 Jmail组件使用方法(asp) access存储和读取二进制字段数据 如何让数据库排序的时候按照中文的拼音来排序 flash不合js冲突(js菜单会飘到flash下面) & 不剪断代码透明化 - 黄毅.net DateAdd函数使用方法 【winform】datagridview绑定到arraylist的时候,arraylist元素变化而dgv不变的解决。 treeview显示数据表树结构。 asp读写txt操作 - 黄毅.net - 博客园 读取硬盘id (这个好像仅限于ide硬盘) 播放器嵌入代码 url传递中文的解决方案总结 Js验证是否为数字 执行完asp,然后把html写进静态页面(功能类型于spider,还是xmlhttp的) 网站测试技术简介 验证email正则js
一个分页的sp,从aspnetpager过来的
黄毅.net · 2007-06-08 · via 博客园 - 黄毅.net

CREATE procedure wqnews_GetPagedWQNews
(@pagesize int,
@pageindex int,
@docount bit)
as
set nocount on
if(@docount=1)
select count(newsid) from wqnews
else
begin
declare @indextable table(id int identity(1,1),nid int)
declare @PageLowerBound int
declare @PageUpperBound int
set @PageLowerBound=(@pageindex-1)*@pagesize
set @PageUpperBound=@PageLowerBound+@pagesize
set rowcount @PageUpperBound
insert into @indextable(nid) select newsid from wqnews order by addtime desc
select O.newsid,O.source,O.heading,O.addtime from wqnews O,@indextable t where O.newsid=t.nid
and t.id>@PageLowerBound and t.id<=@PageUpperBound order by t.id
end
set nocount off
GO