Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



i want to know how the commit option works,how it save the changes? it will update the database or..

Answer / 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

i want to know how the commit option works,how it save the changes? it will update the database or..

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

i want to know how the commit option works,how it save the changes? it will update the database or..

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

i want to know how the commit option works,how it save the changes? it will update the database or..

Answer / kalyan

hi kk
how will restart from 901th record?
please explain

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

why we go for SPUFI for creating tables or for sql queries?

4 Answers  


How do I copy a table in db2?

0 Answers  


What keyword does an SQL SELECT statement use for a string search?

2 Answers  


How many types of page locks can be held in db2?

0 Answers  


Which isolation level provides highest data integrity?

0 Answers  


How do I start db2 in windows?

0 Answers  


What does CURRENTDATA option in bind indicate

1 Answers   IBM,


How to restart a DB2 program?

0 Answers   Cognizant,


Mention some fields that are a part of sqlca.

0 Answers  


What is RUNSTATS?

3 Answers  


How to get the ddl of a table in db2?

0 Answers  


what's the error code for Unique Index Violation?

2 Answers  


Categories