Oracle Database SQL — Question 30

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

Answer options

Correct answer: A, D

Explanation

Option A is correct because global temporary tables can indeed have indexes created on them to improve performance. Option D is also correct; when the ON COMMIT clause is set to transaction-specific, all rows in the table will be removed after a COMMIT or ROLLBACK. The other options are incorrect as they either misstate the functionality or accessibility of global temporary tables.