【第46题】【062题库】2019年OCP认证062考试新题

46题、choose two

Examine this command:

SQL> ALTER SYSTEM SET ENABLE_DDL_LOGGING=TRUE;

Which two statements are true?

A) All DDL statements are logged in to a text file in Automatic Diagnostic Repository (ADR) home.

B) The Alert Log still contains some DDL statements.

C) Some data definition language (DDL) statements are written to the control file.

D) All data definition language (DDL) statements are written to the control file.

E) Some DDL statements are written to a text file in the ADR home.

F) Some DDL statements are written to an XML file in the ADR home.

Answer:AF

(解析: 打开 DDL 跟踪后,要通过 adrci 命令的 show log 才能够查看 DDL 日志, sys 用户的 DDL 语句也会被纪录。

adrci> show log

ADR Home = /u01/app/oracle/diag/rdbms/orcl/ORCL,在该目录下有个 log 目录,里面有ddl_ORCL.log 文本跟踪日志,同时在 log 目录下的 ddl 目录中有 log.xml 日 志文件。来自3组:1015267481)

原文地址:https://www.cnblogs.com/cnblogs5359/p/10950653.html

时间: 2024-07-30 20:02:01

【第46题】【062题库】2019年OCP认证062考试新题的相关文章

【第53题】【062题库】2019年OCP认证062考试新题

53题.choose two The HR user executes the following query on the EMPLOYEES table but does not issue COMMIT, ROLLBACK, or any data definition language (DDL) command after that: SQL> SELECT job FROM employees WHERE job='CLERK' FOR UPDATE OF empno; HR the

【第60题】【062题库】2019年OCP认证062考试新题

60题.choose one When does a database checkpoint occur? A) When there is an online redo log switch. B) When the SHUTDOWN ABORT command is issued. C) When a user session terminates abnormally. D) When a server process terminates abnorthally. Answer:A (解

【Oracle 12c】CUUG OCP认证071考试原题解析(30)

30.choose the best answer Examine the commands used to create DEPARTMENT_DETAILS and COURSE_DETAILS: SQL> CREATE TABLE DEPARTMENT_DETAILS (DEPARTMENT_ID NUMBER PRIMARY KEY, DEPARTMENT_NAME VARCHAR2(50) , HOD VARCHAR2(50)); SQL> CREATE TABLE COURSE_D

【Oracle 12c】CUUG OCP认证071考试原题解析(32)

32.choose the best answer View the Exhibit and examine the data in EMP and DEPT tables. In the DEPT table, DEPTNO is the PRIMARY KEY. In the EMP table, EMPNO is the PRIMARY KEY and DEPTNO is the FOREIGN KEY referencing the DEPTNO column in the DEPT t

【12c OCP】CUUG OCP认证071考试原题解析(34)

34.choose two View the Exhibit and examine the structure of the PRODUCT_INFORMATION and INVENTORIES tables. You have a requirement from the supplies department to give a list containing PRODUCT_ID, SUPPLIER_ID, and QUANTITY_ON_HAND for all the produc

【12c OCP】CUUG OCP认证071考试原题解析(33)

33.choose the best answer View the Exhibit and examine the structure of the ORDER_ITEMS table. Examine the following SQL statement: SELECT order_id, product_id, unit_price FROM order_items WHERE unit_price = (SELECT MAX(unit_price) FROM order items G

【Oracle 12c】CUUG OCP认证071考试原题解析(35)

35.choose the best answer View the Exhibit and examine the description of the EMPLOYEES table. Evaluate the following SQL statement: SELECT first_name, employee_id, NEXT_DAY(ADD_MONTHS(hire_date,6),1) "Review" FROM employees; The query was writt

【12c OCP】CUUG OCP认证071考试原题解析(36)

36.choose the best answer View the Exhibits and examine the structures of the PRODUCTS, SALES, and CUSTOMERS tables. You issue the following query: SQL>SELECT p.prod_id,prod_name,prod_list_price, quantity_sold,cust_last_name FROM products p NATURAL J

【第39题】2019年OCP认证12C题库062考试最新考试原题

39题.choose two You configured the Fast Recovery Area (FRA) for your database. The database instance is in ARCHIVELOG mode. The default location for the archived redo log files is the FRA. Which two files are removed automatically if space is required