I have one major confussion regarding locking, basically i am not able to relate ISOLATION LEVEL and AQUIRE & RELEASE parameter (Bind Parameter) in context to locking.
It is said when you specify CS as Isolation Level then the page lock will be released as soon as the cursor moves to the next page. Now if RELEASE is Deallocate then the tablespace lock will be removed after the plan is deallocated.
Now my question is, what good can releasing a page lock can do, when the table space lock is still there (because you have mentioned RELEASE as deallocate, or even if you have mentioned RELEASE as commit), and my understing is if tablespace/table is locked then all the pages in that Table or Tablespace is also locked.
Can someone help me in clearing my concepts.
Thanks in Advance