sqlserver2000数据库中分页存储过程
时间:2011-01-19 来源:shengtianlong
' * from '+@tablename+' where '+@keyname+
' not in (select top '+cast(@count as varchar)+
@keyname+' from '+@tablename+' order by '+@keyname+')
order by '+@keyname
exec (@sqlstr)
相关阅读 更多 +