adplus-dvertising
frame-decoration

Question

Evaluate the following SQL statements in the given order.
Which statement is true regarding the above FLASHBACK operation?
DROP TABLE dept;
CREATE TABLE dept
(deptno NUMBER(3) PRIMARY KEY,
deptname VARCHAR2(10));
DROP TABLE dept;
FLASHBACK TABLE dept TO BEFORE DROP;

a.

It recovers only the first DEPT table

b.

It recovers only the second DEPT table

c.

It does not recover any of the tables because FLASHBACK is not possible in this case

d.

It recovers both the tables but the names would be changed to the ones assigned in the RECYCLEBIN

Posted under DBMS

Answer: (b).It recovers only the second DEPT table

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Evaluate the following SQL statements in the given order. Which statement is true regarding the above FLASHBACK operation?

Similar Questions

Discover Related MCQs

Q. A non-correlated subquery can be defined as ______

Q. Which statement is true regarding external tables?

Q. In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?

Q. EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?

Q. __________ are used to ensure that transactions access each data item in order of the transactions’ ____ if their accesses conflict.

Q. A concurrency-control policy such as this one leads to ______ performance, since it forces transactions to wait for preceding transactions to finish before they can start.

Q. In concurrency control policy the the lock is obtained on

Q. Which server can joins the indexes when only multiple indexes combined can cover the query:

Q. Which are types of recovery control techniques:

Q. How many types of recovery control techniques:

Q. Copying files to secondary or specific devices is known as ______

Q. Database security helps organizations to protect data from _____

Q. Optimization basically related to the Rewrite module is termed as_______

Q. Optimization that is basically related to the rewriter module is termed as__________

Q. Which is duplication of computer operations and routine backups to combat any unforeseen problems:

Q. Which is a duplicate copy of a file program that is stored on a different storage media than the original location:

Q. Which is refers to a stalemate situation due to which no further progress is possible as computer await response of each other:

Q. Which formal method that locates and analyses relation schemas on the basis of their primary, candidate keys, and the FD’s that are present among the attributes of these schemas:

Q. Which is the process of breaking a relation into multiple relations:

Q. E.F.Codd developed the normalization process in the which early: