SQL Server 存储过程的分页方案比拼[2]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 applebbs 的 blog

="color: #000000"> [nvarchar] (2000) collate chinese_prc_ci_as null 
 10on [primary]
 11go
 12
 13 
 14
 15插入数据:(2万条,用更多的数据测试会明显一些)
 16set identity_insert testtable on
 17
 18declare @i int
 19set @i=1
 20while @i<=20000
 21begin
 22    insert into testtable([id], firstname, lastname, country,note) values(@i'firstname_xxx','lastname_xxx'

本文关键:SQL Server 存储过程的分页方案比拼
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top