what are different types of locks?

Answer Posted / pratap dixit

Pessimistic and Optimistic lock
Pessimistic- at the time of reading , locking the row
Optimistic- at time of updating , locking the row.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1667


What is the difference between online and offline backups?

560


How to get execution statistics reports on query statements?

565


How do I know if oracle is installed on windows?

484


various types of hints and their usage

2128






What happens to the current transaction if the session is killed?

532


What do you understand by database schema and what does it hold?

588


What are joins, explain all types of joins?

1716


How do we get field details of a table?

546


What are the attributes that are found in a cursor?

641


What is the quickest way to export a table to a flat file?

566


What is the difference between alert log file and tarce file ?

1628


How to retrieve the count of updated rows?

568


What is the max number of columns in an oracle table?

509


How to drop a stored procedure in oracle?

586