切断する前に、アプリケーション・コンテナにアプリケーションPDBが接続されていない必要があり、クローズされている必要があります。
sqlplus / as sysdba
col name for a10
select
CON_ID
,NAME
,OPEN_MODE
,RESTRICTED
,APPLICATION_ROOT
,APPLICATION_PDB
,APPLICATION_SEED
,PDB_COUNT
,APPLICATION_ROOT_CON_ID
from v$pdbs
order by CON_ID;
alter pluggable database sales close immediate;
drop pluggable database AMER including datafiles;
drop pluggable database EURO including datafiles;
drop pluggable database ASIA including datafiles;
ALTER PLUGGABLE DATABASE sales UNPLUG INTO '/oradata/PROD1/sales.pdb';
CREATE PLUGGABLE DATABASE sales3 AS APPLICATION CONTAINER as clone USING '/oradata/PROD1/sales.pdb'
COPY ;
alter pluggable database all open;
alter pluggable database all save state;
select
CON_ID
,NAME
,OPEN_MODE
,RESTRICTED
,APPLICATION_ROOT
,APPLICATION_PDB
,APPLICATION_SEED
,PDB_COUNT
,APPLICATION_ROOT_CON_ID
from v$pdbs
order by CON_ID;