I have a main program (A) where we delete some rows in
table in a cursor, and we commit it in sub program(B).
What will happen - will we get an error or not?

Answer Posted / manikanta

Whenever control is going to sub program or control is coming back to main program - COMMIT takes place automatically by the system.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a system catalog table in db2?

580


What is the meaning concurrency in the db2 database?

630


What does reorg do in db2?

572


Explain packages.

653


How do I add a column to an existing table in db2?

583






Outputs of explain are with matchcols = 0. What does this signify?

613


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

637


What is a Foreign Key?

650


What is an instance in db2?

561


What parameters are used to control the free space in DB2?

640


What is blu acceleration in db2?

601


Can you use max on a char column?

634


Mention the downsides of page level lock.

701


How do I add a column in db2?

586


What is dbrm? What it contains?

672