OCP-052考试题库汇总(46)-CUUG内部解答版

简介: Examine this command:SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area(startdate DATE,enddate DATE,class CHAR(20)) ON COMMIT PRESERVE ROWS;Whi...

Examine this command:

SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area

(startdate DATE,

enddate DATE,

class CHAR(20)) ON COMMIT PRESERVE ROWS;

Which three statements are true about rows inserted into REPORT_WORK_AREA?

A)Rows will be lost if a ROLLBACK is done.

B)Rows will be lost upon session failure.

C)Rows are visible to all sessions logged in by the same user until the session that inserted the rows terminates.

D)Rows are visible to all sessions logged in by all users granted the DBA role until the session that inserted the rows terminates.

E)Rows will be lost upon session normal termination.

F)Rows are visible globally to all sessions logged in by any user until the session that inserted the rows terminates.

Answer: ABE

赵:

on commit delete rows,事务提交时自动删除临时表中的记录。

on commit preserve rows,当用户退出 session 时(会话结束后)自动清除临时表的数据。

前者在事务提交后数据就已经清除了.后者在会话中止时或者正 s 常退出时数据都会被清除掉.

CDF 错,Temporary Table 的数据存放在 PGA 或临时表空间下,它被每个 session 单独使用,即隔离session 间的数据,每个 session 只能看到自己的数据。

目录
相关文章
OCP-052考试题库汇总(58)-CUUG内部解答版
In one of your databases: 1.USER1 and USER2 have no system privileges. 2.ROLE1 only has these privileges: ?CREATE SESSION ?CREATE TABLE ?CREATE VIEW ...
768 0
OCP-052考试题库汇总(57)-CUUG内部解答版
Examine these facts about a databases: 1.USERS is the database default tablespace. 2.USER1,USER2,and USER3 have the CREATE SESSION privilege 3.
736 0
|
Oracle 关系型数据库 数据库管理
OCP-052考试题库汇总(47)-CUUG内部解答版
Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A)It improves database performance by automatically implementing Oracle ‘s best practices.
820 0
|
SQL
OCP-052考试题库汇总(44)-CUUG内部解答版
Which two are true about external tables? A)They can be stored in an ASM Cluster File System(ACFS). B)They can always be updated using SQL.
8258 0
|
SQL 数据库 关系型数据库
OCP-052考试题库汇总(43)-CUUG内部解答版
Which is true about external tables? A)Segments are allocated for external tables. B)They may have indexes.
2131 0
|
XML SQL 数据库
OCP-052考试题库汇总(41)-CUUG内部解答版
Examine this session output: SQL> connect scott/tiger Connected. SQL>select name,value 2 from v$parameter 3 where name='audit_trail'; NAME VALUE ----...
890 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(39)-CUUG内部解答版
Which three are true about auditing? A)Auditing is active only when the database is OPEN. B)Audit records are always stored in the database.
732 0
|
SQL 存储 Oracle
OCP-052考试题库汇总(37)-CUUG内部解答版
Examine these facts about objects in the SYSTEM schema: 1.EMP is a table. 2.EMP_PK is a primary key constraint on EMP.
853 0
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(35)-CUUG内部解答版
Which two are true about Oracle Data Pump in Oracle Database 11g Release 2? A)If the directory used in the export operation has existing dump files, it overwrites them.
692 0
OCP-052考试题库汇总(34)-CUUG内部解答版
Where is an expdp operation tracked? A)dump files B)control file C)log files D)Automatic Diagnostic Repository(ADR) E)master table (MT) Answer: E 赵: 题译:哪里有一个 Exdp 操作跟踪? Master table 是一个临时 table,专门为 import pump 和 export pump 创建的,一旦完成就会自动被 drop。
598 0