程序登陆后,大量的 exec sp_cursorfetch 180150375,16,640001,5000 进入产品资料,大量的 exec sp_cursorfetch 180150375,16,640001,5000 是这个语句引起的性能问题? ----$$$$$$$$$$$$$$$-----------------------------------^^^^^^^^^^^^^------------------------------------ select res_id,res_cat_id,res_name,parent_res_id,auto_copy_parent_info,batch_flag,res_unit_type,bar_code,quality_days, res_spec,ceil_num,floor_num,manufacturer,stop_flag,in_ceil_price,in_ref_price,out_floor_price,out_ref_price,res_kind, order_id,cost_price,price_dot_num,easy_code,default_edt_id,res_model,res_rank,res_place,ass_unit_type,num_dot_num, res_desc,edt_io_flag,cost_cal_method,edt_ceil_num,edt_floor_num,ext_1,ext_2,ext_3,ext_4,ext_5,ext_6,ext_7,ext_8, create_date,create_user_id,last_modi_date,last_modi_user_id,emf_route_id,subject_storage_amount,subject_sell_income, subject_sell_cost,sup_id,homepage from res where 1=1 and 1=1 /* 这个条件会引起全表扫描吧 */ and (stop_flag <> N'Y' or stop_flag is null or stop_flag= N'') /* 这个条件会引起全表扫描吧 */ and res_cat_id = N'01' order by order_id,res_cat_id,res_id |