What are the various locks available?
Answers were Sorted based on User's Feedback
Answer / lakshmisudha
locks are 2 types
1.explicet locks
cs,rr,ur,rs
2.implicet locks
shared,exclusive,update
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nag(igate)
They are the 3 types of locks
1.Mode:share,exclusive,update intent
2.Size:tablespace,table,page,row
3.Duration: Acquire,release
| Is This Answer Correct ? | 1 Yes | 1 No |
What is a page?
Comment whether the cursor is closed during commit or not.
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
What is a NULL value? What are the pros and cons of using NULLS?
If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?
What is a cursor in programming?
Explain the function of data manager.
What is a page in db2?
What is CHECK PENDING ?
What happens to the PLAN if index used by it is dropped?
In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.
What is dclgen in db2?