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个字符,难怪同步失败。。。。。

  

posted @ 2022-05-24 09:10  SimpleSmile  阅读(1587)  评论(0编辑  收藏  举报