日期:2014-05-18  浏览次数:20488 次

查询速度极慢! 才8000行数据而已!
存储过程如下:

CREATE   procedure   [GetShopsByCity]                                                                                                                                                    
  (
    @Type   tinyint,
    @CityId   smallint,
    @SortId   int,
    @pageindex   int,                                                                                                                                                            
  @pagesize   int                                                                                                                                          
)                                                                                                                                                
as
                                                                                                                                                                     
set   nocount   on