适用于:
Oracle Database - Enterprise Edition - 版本 12cBETA1 和更高版本本文档所含信息适用于所有平台
症状
当使用 10.2.0.3 版本的 SQLPLUS 查询数据库 12.1.0.1.0 中的数据时,产生下面的错误:
SQL> select * from dba_users;
select * from dba_users
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
SQL> select * from cdb_users;
select * from cdb_users
ORA-00604: error occurred at recursive SQL level 1
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
原因
My Oracle Support 的认证信息中显示,10.2.0.3 已经不提供新的 bug 修复。
因为 10.2.0.3 已经不在被支持,所以建议使用更高的版本。
解决方案
使用目前支持的 SQLPLUS 版本(10.2.0.5 / 11.2.0.3)。