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 |
What technique is used to retrieve data from more than one table in a single SQL statement?
How do I import a csv file into db2?
How to check sequence on a table in db2?
what is the name of the default db2 catalog database?
wht r the requirements for writing a cobol-db2 pgm ?
What are the different types of base tables?
My SQL is not performing well. Describe how will you fine tune it?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
What is the purpose of the WHENEVER statement?
DB2: A calls B once sucessfull and second time when it calls says curson is open why is it so?
What is a page in db2?
Is it possible using max on a char column?