Source:
SQL> alter pluggable databse pdb1 open;
Target:
SQL> alter session set container=cdb$root;
SQL> create database link dbk connect to system identified by oracle using 'REMOTE';
SQL> alter session set global_names=false;
SQL> CREATE PLUGGABLE DATABASE tempPDB FROM PDB1@dbk;
SQL> alter pluggable database tempPDB open;
SQL> alter pluggable database tempPDB close immediate;
SQL> alter pluggable database tempPDB open read only;
SQL> alter pluggable database tempPDB save state;
SQL> shu immediate
SQL> alter pluggable databse pdb1 open;
Target:
SQL> alter session set container=cdb$root;
SQL> create database link dbk connect to system identified by oracle using 'REMOTE';
SQL> alter session set global_names=false;
SQL> CREATE PLUGGABLE DATABASE tempPDB FROM PDB1@dbk;
SQL> alter pluggable database tempPDB open;
SQL> alter pluggable database tempPDB close immediate;
SQL> alter pluggable database tempPDB open read only;
SQL> alter pluggable database tempPDB save state;
SQL> shu immediate
SQL> startup
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/3_15726836601.html,如需转载请自行联系原作者