How can you compare table column after update and before
update?
Answers were Sorted based on User's Feedback
Answer / kingmanish
Its always industry practice to take Image copy of the
table before going for inserts updates etc.
you can unload current data from the table and the data
from the image copy before update and compare the two.
thanks
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / anju
What the hell are you talking about Harsha?? Why do you want to answer if you know nothing in DB2?? Irritating mann!
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raghu
by using db2 utilities of unload,we have to copy before upadate and after update then we should see the difference bet the to copys
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mahesh vasudevan
If you mean a new column has been added to an existing table
or data been updated to an existing table data. I am not
sure on this question. Let me assume that you are talking
about data. Any update that takes place will have two
records logged -one is prior to update and another is after
update and these information goes to Logs. Logs are used
while recovery process for forward and point in time recovery.
and you can make an SQL query for "Union" - "Intersection"
operation to find the differences.
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / harsha
Based on the situation, one can use Union/Inner Join.
| Is This Answer Correct ? | 0 Yes | 9 No |
can i code union in cobol-db2 pgm ?
What are the different types of base tables?
Can a unique index have more than one null value? If not, what error code is given if an attempt is made to insert more than one null value?
When is the access path determined for dynamic SQL?
What is ibm db2 client?
What is the purpose of the QUIESE Utility?
What keyword does an SQL SELECT statement use for a string search?
What is tablespace?
What is db2? Explain.
While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?
How to solved 818 error
4 Answers Keane India Ltd, Wipro,
How to know the primary key of a table without defining the primary key in the table?