Oracle OCP 1Z0-053 Q85(DROP USER CASCADE)
85.You executed the following command to drop a user:
DROP USER scott CASCADE;
Which two statements regarding the above command are correct? (Choose two.)
A. All the objects of scott are moved to the Recycle Bin.
B. Any objects in the Recycle Bin belonging to scott are purged.
C. All the objects owned by scott are permanently dropped from the database.
D. All the objects of scott in the Recycle Bin must be purged before executing the DROP command.
E. Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.
Answer: BC
刪除schema的時候,注意回收站中被刪除使用者的物件也會一併刪除
參考:http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_9008.htm#SQLRF01811
DROP USER scott CASCADE;
Which two statements regarding the above command are correct? (Choose two.)
A. All the objects of scott are moved to the Recycle Bin.
B. Any objects in the Recycle Bin belonging to scott are purged.
C. All the objects owned by scott are permanently dropped from the database.
D. All the objects of scott in the Recycle Bin must be purged before executing the DROP command.
E. Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.
Answer: BC
刪除schema的時候,注意回收站中被刪除使用者的物件也會一併刪除
參考:http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_9008.htm#SQLRF01811
Purpose
Use the DROP USER statement to remove a database user and optionally remove the user's objects.
In an Oracle Automatic Storage Management (Oracle ASM) cluster, a user authenticated AS SYSASM can use this clause to remove a user from the password file that is local to the Oracle ASM instance of the current node.
When you drop a user, Oracle Database also purges all of that user's schema objects from the recycle bin.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2062600/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle中drop user和drop user cascade的區別Oracle
- oracle多使用者使用同一個表空間_drop user cascade的影響Oracle
- Oracle OCP(28):USEROracle
- Drop table cascade constraintsAI
- [重慶思莊每日技術分享]-執行DROP USER ... CASCADE操作刪除很慢
- DROP TABLE ** CASCADE CONSTRAINTS PURGEAI
- Oracle OCP(31):USER & ROLE & PRIVILEGE 其它Oracle
- Oracle OCP 1Z0-053 (ASM)OracleASM
- 外來鍵約束drop table cascade constraintsAI
- 主子表drop table constraints cascade的測試AI
- maridb Error 'Operation DROP USER failed forErrorAI
- ORACLE CASCADE DATAGUARDOracle
- Oracle OCP 1Z0-053 (System Partitioning)Oracle
- Oracle OCP 1Z0-053 Q445Oracle
- oracle10g中drop user造成ORA-07445 core dumpOracle
- Oracle 11G OCP 1Z0-053 600Oracle
- Oracle 11G OCP 1Z0-053 581Oracle
- Oracle 11G OCP 1Z0-053 582Oracle
- Oracle 11G OCP 1Z0-053 583Oracle
- Oracle 11G OCP 1Z0-053 584Oracle
- Oracle 11G OCP 1Z0-053 585Oracle
- Oracle 11G OCP 1Z0-053 586Oracle
- Oracle 11G OCP 1Z0-053 587Oracle
- Oracle 11G OCP 1Z0-053 588Oracle
- Oracle 11G OCP 1Z0-053 589Oracle
- Oracle 11G OCP 1Z0-053 590Oracle
- Oracle 11G OCP 1Z0-053 591Oracle
- Oracle 11G OCP 1Z0-053 592Oracle
- Oracle 11G OCP 1Z0-053 593Oracle
- Oracle 11G OCP 1Z0-053 594Oracle
- Oracle 11G OCP 1Z0-053 595Oracle
- Oracle 11G OCP 1Z0-053 596Oracle
- Oracle 11G OCP 1Z0-053 597Oracle
- Oracle 11G OCP 1Z0-053 598Oracle
- Oracle 11G OCP 1Z0-053 563Oracle
- Oracle 11G OCP 1Z0-053 564Oracle
- Oracle 11G OCP 1Z0-053 565Oracle
- Oracle 11G OCP 1Z0-053 566Oracle