天天看點

ORA-00972: identifier is too long異常處理

環境:由于資料庫更換,做資料同步,提示 too long 問題,導緻一直無法同步完資料。
經排查
oracle
曆史資料庫版本: Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production

新的資料庫版本:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

經過網絡查詢:
位址:https://www.databasestar.com/ora-00972/

内容:
Can You Change the Maximum Length of Object Names?
No, this cannot be changed. In Oracle 11g, and even 12cR1, the maximum length of an object name is 30 characters.

In 12cR2, the maximum value is 128 characters, if the COMPATIBLE value is set to 12.2 or higher.


說明  11版本的 字段命名不能超過30個字元,這個是無法更改的。12.2及其以上是128個字元,難怪同步失敗。。。。。