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?
Answers were Sorted based on User's Feedback
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 |
Answer / sankar
All changes happens to database are initially made in log,
after successful completion of unit of work (COMMIT),the
changes from log reflected into physical database. In case
of roll-back or un-successful completion, changes will not
be reflested into physical database.
Commit executed at the end of all transaction (explicitly
or inplicitly) irrespective of number of rows affected.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / era
commit will insert a unit of work after some define number
of record processed. That commit point will be taken and
the database updated.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does CURRENTDATA option in bind indicate
What is the role of data manager in the db2 database?
What types of tables are there in the db2 database?
How to connect to db2 database from windows command line?
What does the CHECK Utility do ?
Where is the access path logic created by the DB2 Optimizer stored?
How does coalesce work?
How to solve S0C7 abend with out using DISPlay in 10 mins?
What is the difference between plan and package in db2?
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
Why db2 is called db2?
Name the lockable units in DB2?