Oracle
1Z0-050 · Question #100
You issued the following command: CREATE GLOBAL TEMPORARY TABLE admin_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT DELETE ROWS TABLESPACE tbs_t1; An index is then created on…
The correct answer is B. It stores both the temporary table as well as its indexes. D. It can be a default or nondefault temporary tablespace for the database. See the full explanation below for the reasoning.
Question
You issued the following command:
CREATE GLOBAL TEMPORARY TABLE admin_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT DELETE ROWS TABLESPACE tbs_t1; An index is then created on the ADMIN_WORK_AREA temporary table. Which two statements are true regarding the TBS_T1 tablespace in the above command? (Choose two.)
Options
- AIt stores only the temporary table but not its indexes.
- BIt stores both the temporary table as well as its indexes.
- CIt must be a nondefault temporary tablespace for the database.
- DIt can be a default or nondefault temporary tablespace for the database.
- EIt must be the default temporary tablespace of the user who issues the command.
How the community answered
(30 responses)- B83% (25)
- C10% (3)
- E7% (2)
Community Discussion
No community discussion yet for this question.