create or replace function get_seq_next (seq_name in varchar2) return number
is
seq_val number ;
begin
execute immediate 'select ’ || seq_name || ‘.nextval from dual’ into seq_val ;
return seq_val ;
end get_seq_next;
Oracle自定义函数--获取下一个序列值get_seq_next
最新推荐文章于 2023-04-04 18:05:21 发布