QuestionQ121

VerifiedManage Database Performance

You create a table using the PERIOD FOR clause to enable the Temporal Validity feature in Oracle Database 12c.

Examine the table definition:

create table employees  
(empno number, salary number,  
deptid number, name varchar2(100),  
period for employee_time);  

Which three statements are true about using the Valid Time Temporal feature for the EMPLOYEES table?

Choose three
Explanation

Declaring PERIOD FOR employee_time without supplying start and end columns causes Oracle to create the hidden EMPLOYEE_TIME_START and EMPLOYEE_TIME_END columns. Their valid-time values must be supplied rather than being populated automatically by the server. Oracle Flashback SQL supports transaction-time filtering with AS OF TIMESTAMP and valid-time filtering with PERIOD FOR in the same statement. Hidden valid-time columns do not appear in a default DESCRIBE output.

Learn more

Community Discussion

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