i want to know how the commit option works,how it save the
changes? it will update the database or what ? where we can
see these saved changes?

Answer Posted / kk

Hi,
Mostly we are using commit mass insert and update time
only.suppose i insert 1000 records i am using count varable
i give commit every 100th records means it will
automatically update the data base.so it will affect 999th
records means 900 records ulready update in ur table.so we
can restart 901 records thats enough.you can see in ur
table.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by commit and rollback?

592


What is a plan and package in db2?

615


What is a trigger in the db2 database?

592


What is db2 stogroup?

673


Explain correlated sub-queries.

585






i want to maintain uniqueness on pdf without make lf??????????

1629


What does runstats do in db2?

607


What are iseries servers?

562


What is the maximum size of varchar data type in db2?

643


Are view updateable?

627


What is buffer pool in the db2 database?

610


What do you mean by rollback?

570


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

743


What is runstats utility in db2?

569


What are the various data types available in db2?

628