Escolar Documentos
Profissional Documentos
Cultura Documentos
MEASURES
PROCESS
ARCHITECTURE
IT&S SUPPORT REQUEST
V1, 29/01/2013
OVERVIEW
The scope of this document is providing the elements for understanding and
managing the whole process from the database level towards the web application.
Country data file need to be loaded in development environment. Group file does not
need to be loaded because groups affected are existing in the table
WMDS.NTM_COUNTRY_GROUPS (development instance sql server
witsmacmapdev),
WMDO.NTM_COUNTRY_GROUPS (production instance sql server prod).
The files are in the folder:
On development server:
Example:
HOT MOVE TO PROD, CERTIFIED DATA:
The result of this query gives all data of the NTM tables in development and not
updated in production.
For example:
UPDATE_DATE_DEV TABLE_NAME
2013-01-28 17:29:20.7000000 T_NTM_AFFECTED_PRODUCT
2013-01-28 17:29:21.4600000 T_NTM_LEGISLATION_NEW_2
2013-01-28 17:29:22.5130000 T_NTM_DATE
2013-01-28 17:29:23.2400000 T_NTM_LOAD
2013-01-28 17:29:29.4530000 T_NTM_COLLECTION_NEW
2013-01-28 17:29:31.2330000 R_NTM_WORD
2013-01-28 17:29:32.2530000 R_NTM_TRANSLATION
Which means that we need to update in production those tables with where
condition UPDATE_DATE
- On local machine in Visual Studio edit the package Load R_NTM_Word Dev
to PROD.dtsx
- In the Data Flow, edit OLE DB Source step (for each table) and add in the
query the dates for table R_NTM_WORD and then R_NTM_TRANSLATION.
See picture below as example:
- Save and deploy the package on witsmacmapdev
- On the local machine in Visual Studio edit the package for loading the
datawarehouse
Load Product,credit,legislation,date,load,collection dev to prod.dtsx and
per every step (loading tables) insert in the query all dates in according to
what explained before. So for example if we want to update T_NTM_LOAD
table, open the step Load T_NTM_load and in the ste OLE DB Source put
in the query the UPDATE_DATEs involved (in the previous example is only
one 2013-01-28 17:29:23.2400000 but , for sure, they could be more.
See the pictureS below:
OLE DB Source for T_NTM_LOAD: