Quantcast
Viewing latest article 3
Browse Latest Browse All 4

Answer by Vincent Malgrat for ORA-00905: missing keyword when trying to create a synonym

In Oracle, DDL on remote database is not permitted. One likely reason is that a distributed transaction commit can not be initiated at the remote site (you can't COMMIT@remote) and since DDL statements include a commit they are not permitted.

You would get an ORA-02021 with other DDL statements:

DDL operations are not allowed on a remote database

You can create the database link by connecting directly to the remote database.

As suggested in the askTom discussion, you can also use DBMS_JOB@remote or DBMS_SCHEDULER@remote to create a distinct remote transaction that can initiate the DDL statement.


Viewing latest article 3
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>