what happend with out using Commit,when closing cursor and
program?
Answer Posted / guna
If there is no commit while closing cursor or a program,
processed records are lost when an abnormal end occurs.
Say, if due to the execution of the program some rows are
inserted/deleted/updated in a table, those changes will be
lost.
It is a better practice to give commit after every
insertion/updation queries and before terminating a
program.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is syscat in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
How do we specify index to include or not during bind process.
What is the maximum size of varchar data type in db2?
What is lock escalation in db2?
How does db2 sample database connect?
What is the difference between bind and rebind in db2?
How would the varchar column remarks defined?
What are db2 tables?
How is deadlock resolved?
Mention the location where the output received from explain statement is stored.
Explain about rct in db2?
Differentiate between cs and rr isolation levels? Where do you specify them?
What is the use of runstats in db2?
What is buffer pool in the db2 database?