Oracle Data Access

  Home  Oracle  Oracle Data Access


“Data Access Frequently Asked Questions in various Oracle Data Access Interviews asked by the interviewer. So learn Data Access with the help of this Oracle Data Access Interview questions and answers guide and feel free to comment as your suggestions, questions and answers on any Oracle Data Access Interview Question or answer by the comment feature available on the page.”



18 Oracle Data Access Questions And Answers

1⟩ Explain Can we delete tuples in a table based on date column? And how?

Use this SQL query :delete from student_tab A where ROWID > ( select min(ROWID) from student_tab B where A.roll_number = B.roll_number);Note : Table Name = student_tab Key to table = roll_number

Yes ,, we can delete entries from a table based on the date column,,Only we have to mention the date format or other wise we'll have to make use of the sys date.

 179 views

5⟩ Explain What is SAVE POINT?

For long transactions that contain many SQL statements, intermediate markers or savepoints can be declared which can be used to divide a transaction into smaller parts. This allows the option of later rolling back all work performed from the current point in the transaction to a declared savepoint within the transaction.

 170 views

8⟩ Explain Transaction?

A Transaction is a logical unit of work that comprises one or more SQL statements executed by a single user.

 152 views

9⟩ Explain What does COMMIT do?

COMMIT makes permanent the changes resulting from all SQL statements in the transaction. The changes made by the SQL statements of a transaction become visible to other user sessions transactions that start only after transaction is committed.

 144 views

13⟩ Explain When does a Transaction end?

Commit, Rollback, DCL command like grant revoke.When exit from oracle (implicite commit happened), When database abnormally closed then an implicit rollback happened. When user invokes an DDl command

 153 views

15⟩ What is COST-based approach to optimization?

Considering available access paths and determining the most efficient execution plan based on statistics in the data dictionary for the tables accessed by the statement and their associated clusters and indexes.

 145 views