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 is node in db2?
What is the role of the data page in the db2 database?
What is PRIME TABLE and what are the uses of it
What is runstats db2?
Why might full image copies be faster to implement than an incremental image copy?
Why do we bind in db2?
In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?
Are views updateable?
what is db2 restart?
What is the difference between bind and rebind in db2?
How connect db2 database to datastage?
what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names