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
Who uses db2?
What is meant by explain?
What are concurrency issues?
Which command is used to remove all rows from a table?
What is buffer pool and list some of them?
Explain about cursor stability?
List some fields from sqlca?
What is the use of value function?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
What is the physical storage length of time data type?
Mention the different locking levels that are available in db2.
Which component is used to execute the sql statements?
What is schema in db2?
What parameters are used to control the free space in DB2?
What is the purpose of rollback and commit?