sql 分页技术
来源:互联网 发布:开淘宝店要下载什么软件 编辑:程序博客网 时间:2024/06/01 22:54
--create table TB_Page
--(
-- PId int primary key identity(1,1),
-- PName varchar(100)
--)
--drop table tb_Page
--declare
--@count int,
--@num int,
--@sql varchar(max),
--@Pname varchar(100)
--select @count=1000;
--select @num=1;
--while(@num<@count)
--begin
-- select @Pname='第'+convert(varchar(100),@num)+'页';
-- select @sql='insert into TB_Page (PName)values('''+@Pname+''')';
-- select @num=@num+1;
-- exec(@sql)
--end
--select * from TB_Page
--select * from
-- (select top 100 * from
-- (select top 299 * from TB_Page order by PId asc) tb1) tb2
--order by PId asc
--create procedure proc_Page
-- @page int,
-- @pcount int
--as
--begin
-- SELECT ROW_NUMBER() over(order by PId asc) as Num, PId,PName
-- FROM
-- (
-- SELECT ROW_NUMBER() OVER (ORDER BY PId asc) AS RowNum, *
-- FROM TB_Page
-- ) AS T
-- WHERE T.RowNum> (@page-1)*@pcount and T.RowNum<= @page*@pcount
--end
--go
--drop proc proc_Page
--exec proc_Page 3,100
- sql 分页技术
- Sql语句分页技术
- sql 分页技术
- SQL分页技术
- sql 分页技术
- SQL 数据库分页技术
- 分页技术--sql语句的分页
- Sql数据层分页技术
- sql语句实现分页技术
- sql 代码实现分页技术
- SQL Server查询分页技术
- 分页SQL技术1-COUNT STOPKEY.
- 比较SQL Server2005和2008的分页技术
- 分页技术
- 分页技术
- 分页技术
- 分页技术
- 分页技术
- openMP编程探索2——循环并行化
- Web界面原型设计工具
- BMP文件格式详解(BMP file format)
- MAXScript101_4.1 Loops and Loop Control
- C/C++代码审查表
- sql 分页技术
- 老帖:今天我被炒了,一位36岁软件工程师的困惑
- 使用Vim打造IDE--taglist
- byte文件的获取函数
- java(Web)中相对路径,绝对路径问题总结
- CentOS 5.3 安装后的基本软件配置
- centos笔记
- dll
- 代码解析(1)