QuestionQ194

VerifiedManaging Schema Objects

You begin a session and successfully execute these commands:

Question Image

Which two statements are true?

Choose two
Explanation

A global temporary table defined with ON COMMIT PRESERVE ROWS retains its rows for the session, but its data is visible only to the session that inserted it. The first insert binds the session to the table; a bound session cannot perform DDL such as DROP TABLE or ALTER TABLE. A TRUNCATE unbinds a session-specific temporary table, allowing it to be dropped afterward. Oracle Database does not permit foreign key constraints on temporary tables, and it truncates the session-specific rows when the session terminates.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!