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
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 |
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 |
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 |
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 |
What is SPUFI?
What parameters are used to control the free space in DB2?
When do you use the IMAGECOPY?
What is a collection?
How do I create a view in db2?
What is package in cobol db2?
Can you access the DB2 Directory table using SQL?
I have a table which has thousand of records i want to fetch only record num 100 to record num 200. Write a query that satisfies this criteria.(Cant use any keys) Anyone please reply ASAP!
17 Answers KNIT, Tech Mahindra,
When is the access path determined for dynamic SQL?
Is it possible using max on a char column?
I have two tables A and B. Both tables are connected with SSN number as foreign key. I want to retrieve a column data from B table. How will you write a query?
What is multi row fetch in db2?