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

What is a clustered index?

1 Answers  


What do you do to keep the cursor from closing after a commit?

1 Answers  


What is a dbrm in db2?

0 Answers  


Where would you find information about the type of database authority held by the user?

2 Answers  


Can we update view in db2?

0 Answers  


What is an EXPLAIN in DB2. How and what is the steps followed in EXPLAIN command. Can all the queries be used in EXPLAIN command to check the performance.

3 Answers   IBM,


can any one expalin check point with an example?

1 Answers  


we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?

2 Answers  


Is the primary key a clustered index?

0 Answers  


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

0 Answers  


how to get duplicate records from tables?write qurey for this?

4 Answers   ANZ,


How do I delete a table in database?

0 Answers  


Categories