19.08.2015 Views

DB2 9 & 10 for z/OS Overview

DB2 9 & 10 for zOS Overview - The Open Systems Group

DB2 9 & 10 for zOS Overview - The Open Systems Group

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Migration Planning WorkshopRow Maintenance with System Time• No temporal syntax <strong>for</strong> System Time maintenance– Use regular Update, Delete, Insert statements• If the modification impacts existing base table rows–Insert or Update –The base table row(s) are created / updated with a currentSystem Start Time and high value System End Time.–Delete–Update or Delete–Remove the base table row.–Create a “be<strong>for</strong>e-image” copy of all qualified base tablerows in the History Table.–If a previous copy of a row exists in the History table•Limit the System timeframe of the previous copy–Set previous copy’s End System Time = copiedrow’s Begin System Time–The newly created History row(s) are added with aSystem End Time equal to the current time (System StartTime of the associated base table row <strong>for</strong> an update)75© 2011 IBM Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!