what happend with out using Commit,when closing cursor and
program?
Answer Posted / harish
yes, commit-it will save the changes that we done to db2
table
when operation is performed successfully table will be auto
committed its default,suppose if any abends occur all
changes will be rolled back , table will come to original
status
since while updating millions of records somewhere some
abend occurs that time its better to have commit ,so till
upto abend whatever changes occured in table will be
saved.....
pls let me know if u have any queries
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What does sqlcabc has?
How to fetch the last row from the table in SQL (db2)?
Name the various locking levels available?
Define declaration generator (dclgen).
What is alias in db2?
Which command is used to remove all rows from a table?
What does a deadlock mean in DB2?
What does db2 plan contain?
Why cursor is used in db2?
What is copy pending status in db2?
What is the information associated with sysibm.syslinks table?
What is a db2 package?
What is phantom read in db2?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
What is the difference between dbm cfg and db cfg file in db2 ?