摘要: 1)NOT INdeclare @timediff datetimedeclare @pageIndex intdeclare @pageSize intdeclare @sql varchar(500)set @pageIndex=1set @pageSize=10set @timediff=GetDATE()set @sql='select top ('+cast(@pageSize as varchar)+') * from testTable where (id not in (select top '+cast(@pageSize*(@pageInde 阅读全文
posted @ 2013-01-24 11:37 上海-天浩 阅读(155) 评论(0) 推荐(0) 编辑

Living in ShangHai

Copyright © 2008 天浩阁 Corporation, All Rights Reserved