ORA-08002: sequence s%.CURRVAL is not yet defined in this session
来源:互联网 发布:淘宝爆款是什么 编辑:程序博客网 时间:2024/06/05 09:24
在工具中执行:
select ar.ar_cash_receipt_history_s.currval from dual;
ERROR at line 1:ORA-08002: sequence AR_CASH_RECEIPT_HISTORY_S.CURRVAL is not yet defined inthis session
这是因为在执行.CURRVAL前必须先执行.NEXTVAL, 所以修改SQL语句后可以这样来查询:
select ar_cash_receipt_history_s.nextval next_val, ar_cash_receipt_history_s.currval cur_val from dual;
官方说法:
ORA-08002: sequence string.CURRVAL is not yet defined in this session
Cause: sequence CURRVAL has been selected before sequence NEXTVAL
Action: select NEXTVAL from the sequence before selecting CURRVAL
- ORA-08002: sequence s%.CURRVAL is not yet defined in this session
- Oracle/PLSQL ORA-08002: sequence NAME.CURRVAL is not yet defined in this session
- ORA-08002: sequence TEST1.CURRVAL is not yet defined in this session
- ORA-08002: sequence CURRVAL is not yet defined in this session
- ORA-08002: sequence SEQ_PREPAY.CURRVAL is not yet defined in this session的原因
- ORA-08002: sequence CURRVAL is not yet defined in this session
- ORA-08002: sequence SEQ_TBL_ONLINE.CURRVAL is not yet defined in this session
- currval of sequence "follow_id_seq" is not yet defined in this session
- google maps navigation is not yet available in this location
- Meteor Session is not defined解决办法
- An attempt was made to set a report parameter that is not defined in this report
- ORA-08002: SEQUENCES **.CURRVAL 未定义
- ORA-31623: a job is not attached to this session via the specified handle
- ORA-31623: a job is not attached to this session via the specified handle
- select sequence.currval 时报错 ORA-08002: 序列XXXX尚未在此进程中定义
- Why Docker is Not Yet Succeeding Widely in Production
- ORA-01034: ORACLE not available 、ora-00064:object is too large to allocate on this O/S
- Shape Drawable----This is a generic shape defined in XML.
- Oracle sqlldr导入数据使用默认值和提高性能的方法
- skills of PM
- 需求调研方向
- Android图形系统分析与移植 -- 三、内核空间显示功能介绍
- hibernate 笔记001---一对多,多对一,多对多,一对一关系汇总
- ORA-08002: sequence s%.CURRVAL is not yet defined in this session
- 使用Lucene的highlight包高亮显示检索关键字
- 引进Starling(二)
- GDB手册17:调试远程程序
- Sql server 2008 查询某个时间段被修改过的存储过程
- Android图形系统分析与移植 -- 四、Surface Manager(Surface Flinger简介)
- About Brightness
- 监听Android应用程序是否卸载成功
- Android中Sqlite数据库多线程并发问题