SQL优化[46]

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

本文简介:选择自 fly_miss 的 blog

        + @tblname + "] where [" + @fldname + "]" + @strtmp + "(["

        + @fldname + "]) from (select top " + str((@pageindex-1)*@pagesize) + " ["

        + @fldname + "] from [" + @tblname + "] where " + @strwhere + " "

        + @strorder + ") as tbltmp) and " + @strwhere + " " + @strorder

end

end  

exec (@strsql)

go

本文关键:SQL优化
  相关方案
Google
 

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

go top