Exam 1z0-071 All QuestionsBrowse all questions from this exam
Question 88

Which two are true about global temporary tables? (Choose two.)

    Correct Answer: A, D

    Global temporary tables support the creation of indexes, enabling efficient data handling, so it is true that indexes can be created on them. Additionally, if the ON COMMIT clause is transaction-specific, all rows in the table are deleted after each COMMIT or ROLLBACK, ensuring the table is cleared for new transactions. These properties make options A and D correct.

Discussion
SantiBZ_07032022_1744Options: AD

I Think A, D. D -> If the ON COMMIT is transaction specific -> COMMIT, ROLLBACK delete rows. NOT C-> Allocation of temporal segments are done on USER TEMP TABLESPACE, at time of use table, no always in the TEMP TABLESPACE of the OWNER.

Kamiyl

C isn't correct: By default, Oracle stores the data of the global temporary table in the default temporary tablespace of the table’s owner. But you can explicitly assign another tablespace to a global temporary table during table creation using the TABLESPACE clause https://www.oracletutorial.com/oracle-basics/oracle-global-temporary-table/

lucemqyOptions: AD

AD is correct

DobrySomsiadOptions: AD

AD is correct

Hari1233535Options: AD

AD is correct

zouveOptions: AD

Option A is correct. Indexes can be created on global temporary tables, allowing for efficient data retrieval and manipulation. Option D is correct. If the ON COMMIT clause is specified as transaction-specific (ON COMMIT DELETE ROWS), all rows in the global temporary table are automatically deleted after each COMMIT or ROLLBACK statement. This ensures that the table is cleared for the next transaction.

CMjerOptions: AD

A D are correct: D. If the ON COMMIT clause is transaction-specific, all rows in the table are deleted after each COMMIT OR ROLLBACK. ''all rows in the table are deleted'' = TRUNCATE

SidoogleOptions: AC

AC is correct D is wrong, because : The ON COMMIT clause specifies whether data in the table is transaction-specific or session-specific: The ON COMMIT DELETE ROWS clause specifies that the global temporary table is transaction-specific. It means that ORACLE TRUNCATE THE TABLE after each commit. The ON COMMIT PRESERVE ROWS clause specifies that the global temporary table is session-specific, meaning that ORACLE TRUNCATE THE TABLE when you terminate the session, not when you commit a transaction. Delete is DML, truncate is DDL

AveragenoobOptions: AC

I think A,C

Viviana3184Options: AC

I think are A and C