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 if we fail to give values in columns declared as NOT NULL ?

3 Answers   Cap Gemini,


can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

0 Answers  


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


wht displays the number of times a query modified ?

2 Answers   TCS,


How do you eliminate duplicate values in db2?

0 Answers  






What is the maximum size of a char data type in db2?

0 Answers  


What is a storage group (stogroup)?

0 Answers  


What is buffer pool?

0 Answers  


how to resolve -811 sqlcode .give clear explaination

3 Answers   IBM,


What is concurrency?

0 Answers  


How to handle null values in db2

4 Answers  


How to find primary key of a table in db2?

0 Answers  


Categories