10.2.0.3 版本的 SQLPLUS 查詢 12.1.0.1.0 資料庫產生 ORA-01841

mosdoc發表於2016-12-02
從 10.2.0.3 版本的 SQLPLUS 查詢 12.1.0.1.0 資料庫產生 ORA-01841 (文件 ID 1602850.1)

適用於:

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)。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31393455/viewspace-2129528/,如需轉載,請註明出處,否則將追究法律責任。

相關文章