当前位置:   article > 正文

怎样修改一个序列的当前值_declare begin修改序列

declare begin修改序列
declare
  LastValue integer;
begin
  loop
    select SEQ_CONTRACT.currval into LastValue from dual;
    exit when LastValue >= 160 - 1;
    select SEQ_CONTRACT.nextval into LastValue from dual;
  end loop;
end;
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/空白诗007/article/detail/816654
推荐阅读
相关标签
  

闽ICP备14008679号