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...


what is the use of commit ? and what is the syntax?

Answers were Sorted based on User's Feedback



what is the use of commit ? and what is the syntax?..

Answer / p.shravani

commit is a command.It is used to make the changes permanent
on the storage when the transaction is successfully
processed or execute.
syntax
exec sql
commit
end-exec.

Is This Answer Correct ?    23 Yes 2 No

what is the use of commit ? and what is the syntax?..

Answer / yuvaevergreen

Commit statement is an explicit way of mentioning that
>>any changes should be committed to the object.
>>any locks to be released from the particular object
(except WITH HOLD cursor)
I hope syntax should be
EXEC SQL
COMMIT
END-EXEC.

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is the purpose of rollback and commit?

0 Answers  


How does a cursor work?

0 Answers  


What is a correlated sub query?

2 Answers  


what is the maximum number of tables that can be joined ?

8 Answers   IBM, TCS,


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

4 Answers   ANZ,


how can i pull up a query which was previously stored in qmf

3 Answers  


What is the difference between cursor and select statement?

0 Answers  


What is an asychronous write?

1 Answers  


How many Buffer pools are there in DB2 and what are they?

1 Answers   IBM,


Can we use select query in a loop to fetch multiple rows in a COBOL PROGRAM? If so, what is the advantage of cursor?

1 Answers   UST,


When can an insert of a new primary key value threaten referential integrity?

2 Answers   Mind Tree,


How to get the ddl of a table in db2?

0 Answers  


Categories