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

Write a query to extract first 5 characters of a name in the column Stud_Name?

1 Answers   RBS,


what is utility for parm lib

0 Answers   IBM,


What is null indicator in cobol db2?

0 Answers  


What will the FREE command do to a plan?

2 Answers  


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

0 Answers  






Are views updateable?

0 Answers  


What is a db2 package?

0 Answers  


What is a system catalog table in db2?

0 Answers  


how can you save the query in QMF?IS IT POSSIBLE OR NOT.IF POSSIBLW HOW?

1 Answers   Hewitt,


Name the various locking levels available?

0 Answers  


List down the data types in the db2 database.

0 Answers  


What is role in db2?

0 Answers  


Categories