oracle存储过程中无法使用序列解决思路

oracle存储过程中无法使用序列
求助!新建立一个序列seq_test, 使用select 语句可以查出其内容。但在存储过程中无法使用, 如下图。
oracle存储过程中无法使用序列解决思路
oracle存储过程中无法使用序列解决思路
------解决方案--------------------
Quote: 引用:

Quote:


select seq_test.nextval into next_val from dual;
------解决方案--------------------
select seq_test.nextval into next_val from dual;

------解决方案--------------------
还可以写一个函数获取序列号返回值,然后调用赋值。。。。。。。