begin select count(1) into vcnt from MESIOFILLING@Trans a left join mesapitest b on…
- User
begin select count(1) into v_cnt from MES_IO_FILLING@Trans a left join mes_api_test b on a.barcode = b.barcode where b.pi_prono = pi_task and b.lineno = pi_line and a.barcode <> 'ERROR'; if v_cnt > 0 then update mes_api_test c set c.po_text = '重码', c.memo = 0 where c.barcode in (select a.barcode from MES_IO_FILLING@Trans a left join mes_api_test b on a.barcode = b.barcode where b.pi_prono = pi_task and b.lineno = pi_line);
end if; end; 这个查询语句查询时间很长,能不能优化 Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.