SQL优化[44]

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

本文简介:选择自 fly_miss 的 blog

end

else

begin

    set @strtmp = ">(select max"

    set @strorder = " order by [" + @fldname +"] asc"

end

 

if @pageindex = 1

begin

    if @strwhere != ''  

    set @strsql = "select top " + str(@pagesize) +" "+@strgetfields+ "  from [" + @tblname + "] where " + @strwhere + " " + @strorder

     else

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

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

go top