Given the following table:
CREATE GLOBAL TEMPORARY TABLE database1.temp1
(
column1 INTEGER NOT NULL,
column2 INTEGER DEFAULT 100 COMPRESS ,
column3 CHAR(80))
PRIMARY INDEX (column1)
ON COMMIT PRESERVE ROWS;
Which statement is true about this table?
- Inserted rows will use spool space.
- Multiple sessions can use this definition to insert rows but not share rows.
- Rows will be deleted after a transaction that inserted rows into this table is complete.
- Rows will be preserved after a session that inserted rows into this table is logged off.
Reveal Solution
Next Question