简体   繁体   English

redgate oracle 12c比较显示不可编辑

[英]redgate oracle 12c compare shows noneditionable

Why does Redgate compare for Oracle show NONEDITIONABLE for objects? 为什么Redgate对于Oracle进行比较,对对象显示NONEDITIONABLE?

We have installed Oracle 12C locally on a windows machine to dry run database scripts before running them on the main Oracle 12C database on a Unix machine. 我们已经在Windows机器上本地安装了Oracle 12C,以便在Unix机器上的主要Oracle 12C数据库上运行数据库脚本之前先执行数据库脚本。

After running the scripts on the local version we run Redgate Schema compare and find that some of the Views and Triggers don't match. 在本地版本上运行脚本后,我们运行Redgate Schema比较,发现某些视图和触发器不匹配。 Upon further review the only difference between the two is the word "NONEDITIONABLE". 经进一步审查,两者之间的唯一区别是“不可编辑”。 This is not part of the our script and we are unsure how this was added to the local version of the object. 这不是我们脚本的一部分,我们不确定如何将其添加到对象的本地版本中。

CREATE OR REPLACE FORCE NONEDITIONABLE 创建或替换力不可更改

When researching EDITIONING we thought that maybe it was because the local Oracle install wasn't a portable database (PDB), so we changed our install, and confirmed that the EDITIONS_ENABLE was 'Y' for the user. 在研究EDITION版本时,我们认为可能是因为本地Oracle安装不是便携式数据库(PDB),所以我们更改了安装,并确认用户的EDITIONS_ENABLE为'Y'。

We are restoring a dump of the main to our local, and it appears to only be the objects that existed previously. 我们正在将主数据库的转储还原到本地,它似乎仅是以前存在的对象。 Any new objects do not experience this issue. 任何新对象都不会遇到此问题。

I was never able to find a good solution in the local 12C version install. 我在本地12C版本安装中从未找到好的解决方案。 I finally used the restored 12C version to create by own backup, which I downgraded to the 11.2 version for Oracle Express. 最后,我使用还原的12C版本通过自己的备份创建了该文件,然后将其降级为Oracle Express的11.2版本。 Once I restored the downgraded version the comparison and ran the scripts I no longer experienced an issue with the compare. 一旦还原了降级版本的比较并运行了脚本,我就不再遇到比较问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM