摘要:
好久没有操作数据库分页了,在看了这篇文章(http://www.cnblogs.com/iamowen/archive/2011/11/03/2235068.html)后,感触很深,万丈高楼平地起基础的东东还是时刻准备着。--------------先插入100w条数据用时4'50'’declare @i intset @i=0while @i<1000000begininsert into pagetest select cast(floor (rand()*1000000 )as int ), left( newid() ,10),getdate()set @i=@i 阅读全文