declare
     cursor cur_test is select inte_param_inteuuid from sjzx_interface_param group by inte_param_inteuuid; //声明一个游标cur_test ,其中inte_param_inteuuid 为游标查询到的数据
begin
   for c in cur_test loop //对cur_test 进行循环遍历,c相当于每一组数据,c.inte_param_inteuuid即拿到需要的uuid
       insert into sjzx_interface_param t values(next.nextval,sys_guid(),SYSDATE,SYSDATE,'查询人',next.nextval,c.inte_param_inteuuid,'dqp_name','','查询','');
   end loop;
 commit;
end;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-08-09
  • 2022-12-23
  • 2021-11-15
  • 2021-08-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案