wht displays the number of times a query modified ?

Answers were Sorted based on User's Feedback



wht displays the number of times a query modified ?..

Answer / ramakrishna javvaji

SQLERRID(3) field of SQLCA will have no of updates that the
query made.

Is This Answer Correct ?    6 Yes 2 No

wht displays the number of times a query modified ?..

Answer / mehdee

- If you mean what displays the number of time that a DB2
row has been modified, then my answer is when you create
this DB2 table add a column like SEQ_NUM and as you define
it like SMALLINT, right there you can have it increamented
by 1. Please look into manual for it's exact format.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB2 Interview Questions

could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..

5 Answers  


Hi. I am currently working as a application developer. I would like to persue a DB2 certification exam. Can anybody please provide me the details about this exam like Syllabus, Cost and how to take the certification?

2 Answers  


what's the equivalent Cobol Data type for Decimal(x,y) in DB2? what does the current SQLID register contain?

3 Answers   Cap Gemini, Tech Mahindra,


What is node in db2?

0 Answers  


in my table i will update only 100 record among 1000 records i need to display recently updated record'.....can u tell me where those records are stored how can i display those records...?if there is any sql query pls let me know....?

3 Answers   Infosys,






How to create backup table in db2?

0 Answers  


What does DML stand for and what are some examples of it?

3 Answers   IBM,


What is the reason behind not using select * in embedded sql programs?

0 Answers  


How to view db2 table structure?

0 Answers  


How can you do the explain of a dynamic sql statement?

0 Answers  


What is a system catalog table in db2?

0 Answers  


What do you mean by cursor?

0 Answers  


Categories