摘要:
declare @GetCaridStr Nvarchar(1000) ;set @GetCaridStr = 'DECLARE LandAreaO_Cursor CURSOR FOR select carid from car_info where companyid not in(select companyid from company_info where list2 =543 and list3 =543 and status =1) and car_type in ('+ @Key_CarType +')';Exec(@GetCaridStr) ; 阅读全文