How can you compare table column after update and before
update?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2316


How to take backup of table in db2?

591


Can you tell me how can you find out the # of rows updated after an update statement?

602


What is release/acquire in bind?

641


Which command is used to remove all rows from a table?

544






What is null indicator in cobol db2?

574


What is consistency token in db2?

629


What does sqlcabc has?

625


How to create backup table in db2?

633


How do you find the maximum value in a column in db2?

642


Name the lockable units in DB2?

656


How can record locking be achieved in those DB2 versions which do not support it?

613


How to get the ddl of a table in db2?

670


What is package in db2 mainframe?

549


What is runstats and reorg in db2?

784