In BIND, isolation level parameter specifies the duration
of page lock and ACQUIRE, RELEASE also do almost the same
thing. What is the exact difference between the two? Do
they work in conjunction while executing SQL queries and
obtaining locks?

Answer Posted / p praveen kumar

1) Isolation specifies types of locks to be used by
Repeatable Reads(Table space locks), Reads
Stability(page level locks), Cursor Stability(Row level Locks)
Uncommitted locks(no Locks)

2) Acquire tells when the lock should be acquired(USE,ALLOCATE)

3) Release tells when it should be unlocked(COMMIT, DEAL LOCATE)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

My sql statement select avg(salary) from emp yields inaccurate results. Why?

643


What is the difference between using bind () and rebind () methods of naming class?

792


How to compare data between two tables in db2?

660


What is the physical storage length of time data type?

673


What is the difference between dbm cfg and db cfg file in db2 ?

1006






What is a db2 tablespace?

602


Name the lockable units in DB2?

665


How do I delete a table in db2?

650


What is difference between rollback and commit?

634


What is a dbrm in db2?

576


How can deadlocks be resolved?

542


What is the role of schema in the db2 database?

653


If I have a view which is a join of two or more tables, can this view be updateable?

694


What is meant by explain?

662


What is the difference between cursor and select statement?

615