what is the use of commit ? and what is the syntax?

Answer Posted / yuvaevergreen

Commit statement is an explicit way of mentioning that
>>any changes should be committed to the object.
>>any locks to be released from the particular object
(except WITH HOLD cursor)
I hope syntax should be
EXEC SQL
COMMIT
END-EXEC.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is table space in db2?

572


What is difference between rollback and commit?

616


Why do chiropractors use drop table?

654


Comment whether the cursor is closed during commit or not.

662


What is buffer pool?

604






Define check constraint.

633


Is it possible using max on a char column?

598


Mention the different locking levels that are available in db2.

635


What is ibm db2 client?

513


What is dbrm in db2 database?

579


Explain the function done by data manager?

849


what is the role of the cursor in db2?

634


What is the role of data manager in the db2 database?

634


When reorg is used?

666


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

598