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 nvl in db2?

624


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

702


What is the default page size of buffer pools?

646


How can you count the number of rows from a table tab?

635


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

7512






What is table space in db2?

578


When reorg is used?

672


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

590


What is the physical storage length of timestamp data type?

644


What is db2 stogroup?

673


What are concurrency issues?

628


What is the difference between cursor stability and repeatable read isolation levels?

679


What is dbrm in db2 database?

586


What is role in db2?

620


Define sqlca.

647