游客发表

DB2编程序的技巧之游标的正确使用

发帖时间:2025-11-05 05:02:01

DB2编程序的技巧之游标的正确使用
编程标复制declare continue handler for not found   begin   set v_notfound = 1;   end;   declare cursor1 cursor with hold for select market_code from tb_market_code for update;   open cursor1;   set v_notfound=0;   fetch cursor1 into v_market_code;   while v_notfound=0 Do   --work   set v_notfound=0;   fetch cursor1 into v_market_code;   end while;   close cursor1;   1.2.3.4.5.6.7.8.9.10.11.12.13.14.

    热门排行

    友情链接