declare m_cur cursor for select col from tx_strlist;-- tx_str_split :执行存储过程后的临时表
   declare continue handler for not found set  _done=true;

  -- 打开游标
    open m_cur;

   -- 一层嵌套循环
    repeat
    fetch m_cur into _cur;
        if not _done then

  -- 写逻辑

  end if;
    
    until _done end repeat;  --直到循环读取结束
    close m_cur;-- 关闭游标

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
猜你喜欢
  • 2021-05-24
  • 2022-02-06
  • 2021-06-26
  • 2022-01-02
  • 2021-09-22
  • 2022-12-23
相关资源
相似解决方案