阅读背景:

这个sql语句怎样改了下,能提高点速度?现在我用这个sql几千条数据,分页比较慢。

来源:互联网 
这个sql语句怎样改了下,能提高点速度?现在我用这个sql几千条数据,分页比较慢。
select * from moonjxcmx where buyersId like '%"+ViewState["seeBuyersId"]+"%' and buyersMs like '%"+ViewState["seeBuyersName"]+"%' and goodsId like '%"+ViewState["seeGoodsId"]+"%' and goodsSpell like '%"+ViewState["seeGoodsName"]+"%' and onlyId like '%"+seeOnlyId.Text+"%' order by "+str+" "+ViewState["Direction"].ToString() se



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: