B drop multiple partitions the new alter table drop

This preview shows page 59 - 63 out of 152 pages.

B: Drop Multiple Partitions: The new “ALTER TABLE … DROP PARTITIONS ” help drop multiple partitions or subpartitions with a single statement. Example: view plaincopy to clipboardprint? SQL> ALTER TABLE Tab_tst1 DROP PARTITIONS Tab_tst1_PART5, Tab_tst1_PART6, Tab_tst1_PART7; Table altered SQL> Restrictions : - You can’t drop all partitions of the table. - If the table has a single partition, you will get the error: ORA-14083: cannot drop the only partition of a partitioned. QUESTION 104 You are connected using SQL* Plus to a multitenant container database (CDB) with SYSDBA privileges and execute the following sequence statements:
Image of page 59
What is the result of the last SET CONTAINER statement and why is it so? A. It succeeds because the PDB_ADMIN user has the required privileges. B. It fails because common users are unable to use the SET CONTAINER statement. C. It fails because local users are unable to use the SET CONTAINER statement. D. If fails because the SET CONTAINER statement cannot be used with PDB$SEED as the target pluggable database (PDB). Correct Answer: C Section: (none) Explanation Explanation/Reference: Explanation: QUESTION 105 Examine the details of the Top 5 Timed Events in the following Automatic Workloads Repository (AWR) report: What are three possible causes for the latch-related wait events? A. The size of the shared pool is too small. B. Cursors are not being shared. C. A large number COMMITS are being performed.
Image of page 60
D. There are frequent logons and logoffs. E. The buffers are being read into the buffer cache, but some other session is changing the buffers. Correct Answer: ABE Section: (none) Explanation Explanation/Reference: QUESTION 106 You enabled an audit policy by issuing the following statements: SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SCOTT; SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SYS, SYSTEM; For which database users and for which executions is the audit policy now active? Select two. A. SYS, SYSTEM B. SCOTT C. Only for successful executions D. Only for failed executions E. Both successful and failed executions Correct Answer: AE Section: (none) Explanation Explanation/Reference: Explanation: * The ORA_DATABASE_PARAMETER policy audits commonly used Oracle Database parameter settings. By default, this policy is not enabled. QUESTION 107 A redaction policy was added to the SAL column of the SCOTT.EMP table: All users have their default set of system privileges. For which three situations will data not be redacted? (Choose three.) A. SYS sessions, regardless of the roles that are set in the session B. SYSTEM sessions, regardless of the roles that are set in the session C. SCOTT sessions, only if the MGR role is set in the session D. SCOTT sessions, only if the MGR role is granted to SCOTT E. SCOTT sessions, because he is the owner of the table F. SYSTEM session, only if the MGR role is set in the session Correct Answer: ABD Section: (none)
Image of page 61
Explanation Explanation/Reference: QUESTION 108 What is the result of executing a TRUNCATE TABLE command on a table that has Flashback Archiving enabled?
Image of page 62
Image of page 63

You've reached the end of your free preview.

Want to read all 152 pages?

  • Fall '19
  • Oracle Database

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors