TMP dates imported backwards

From CCMDB Wiki
Revision as of 12:03, 31 October 2016 by Ttenbergen (talk | contribs) (cat)
Jump to navigation Jump to search


will be addressed by Re-import of TmpV2 data from Julie's Export 2014-09-08



When we imported the TMP date var day and month got switched around for some, i.e. instead of April 1 it will be imported as January 4. Pagasa has continued to keep tmpV2_1.mdb up to date so we can get proper values from there.

Solution

We will update the values in centralized_data.mdb with the proper values from TmpV2 1.mdb.

Spun this out into its own article since it will be a bulk update from query and we should have a record of what we did if we later find that anything went weird.

Plan

  • link TmpV2 1.mdb table ' into Centralized data front end.mdb
  • confirm a record exists in TmpV2 for each entry in centralized and vice versa
    • query '
    • query '
  • run query fix_tmp_dates to update centralized from TmpV2

SQL for query fix_tmp_dates

Storing here for future reference as it will be removed from front end once done.