当前位置: 代码迷 >> Sql Server >> 查询速度极慢! 才8000行数据而已!解决办法
  详细解决方案

查询速度极慢! 才8000行数据而已!解决办法

热度:47   发布时间:2016-04-27 15:48:51.0
查询速度极慢! 才8000行数据而已!
存储过程如下:

CREATE   procedure   [GetShopsByCity]                                                                                                                                                    
  (
    @Type   tinyint,
    @CityId   smallint,
    @SortId   int,
    @pageindex   int,                                                                                                                                                            
  @pagesize   int                                                                                                                                          
)                                                                                                                                                
as
                                                                                                                                                                     
set   nocount   on                                                                                                                                                                                                                                                                                                                
  相关解决方案