in a table consist of 1000 records among that i was updated
145 record how could i know that ..list of recently updated
record's and where could i see those updated
record's....pls help me out....

Answers were Sorted based on User's Feedback



in a table consist of 1000 records among that i was updated 145 record how could i know that ..list..

Answer / girihs kumar

SQLERRD Contains the number of rows affected by a DB2
INSERT/DELETE operation. if the operation is DELETE, this
contains number of rows deleted after the execution of the
query.

Is This Answer Correct ?    16 Yes 0 No

in a table consist of 1000 records among that i was updated 145 record how could i know that ..list..

Answer / diana

SQLERRD Contains the number of rows affected by a DB2
INSERT/DELETE operation.

I support this answer

Is This Answer Correct ?    5 Yes 0 No

in a table consist of 1000 records among that i was updated 145 record how could i know that ..list..

Answer / vaneeshkhurana

In case of any requirement where you have to display the
recently updated records, DB2 generally contains an
additional time stamp coulomb which can be updated with
current time stamp in the updated query.
Now when you want to display the recently updated records,
and an additional AND conditional can be added stating where
time stamp > time when update query ran.

Is This Answer Correct ?    1 Yes 0 No

in a table consist of 1000 records among that i was updated 145 record how could i know that ..list..

Answer / girish kumar

i don't know exactly but what i feel, DB2 active logs
records events of all data changes in DB2. In case of
failure, it uses this data to recover the lost information.





CORRECT ME IF IAM MISTAKE.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB2 Interview Questions

SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

0 Answers  


What information can you find in SYSIBM.SYSLINKS table?

1 Answers   TCS,


What is the use of db2?

0 Answers  


What is the difference between a package and a plan?

6 Answers   Infosys, L&T, Mphasis,


What DB2 Catalog column tell you when an index needs table reorganized ?

1 Answers  






For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

0 Answers  


How to see the structure of db2 table??

4 Answers   IBM,


What is bind and rebind in db2?

0 Answers  


What is the maximum length of a column name in DB2? 18 or 30 or anything other than these?

4 Answers  


what will be the output of the below given query, if no matching records are found : (a.) 0 (b.) null (c.) error select Avg(salary) from TableA where Deptno = 'insurance'

10 Answers   Amdocs,


wht are the restrictions for union ?

2 Answers   CTS,


What is a precompiler?

2 Answers  


Categories