Following a db2 update statement, what is the quickest way to compute the total number of updated rows?



Following a db2 update statement, what is the quickest way to compute the total number of updated ro..

Answer / Akash Sharma

To compute the total number of updated rows after an UPDATE statement in DB2, you can use the ROWCOUNT statement. However, it's important to note that this statement should be executed before any COMMIT or ROLLBACK.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

How to resolve deadlock issue

6 Answers   IBM,


Explain the function of data manager.

1 Answers  


How do you concatenate the firstname and lastname from emp table to give a complete name?

1 Answers  


What are the various locks available?

5 Answers   CTS,


Why select is not preferred in embedded sql programs?

1 Answers  


What is cursor stability?

1 Answers  


What is subquery ?

6 Answers  


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  


What is package in db2 mainframe?

1 Answers  


What is concurrency?

1 Answers  


Which isolation level provides maximum concurrency?

1 Answers  


Which transaction use a command thread ?

1 Answers  


Categories