select
'OMBEXPORT TO MDL_FILE ''$ExportDir/TAB_'||TABLE_NAME||
''' \
COMPONENTS (TABLE ''ENECO_DWH/'||SCHEMA_NAME||'/'||TABLE_NAME||''') \
OUTPUT LOG TO ''$LogDir/TAB_'||TABLE_NAME||'.log'';' as EXPORT_CMD
from OWB_OWN.ALL_IV_TABLES@load_p.world T
where T.UPDATED_ON >= to_date('1-jan-2012')
union all
select
'OMBEXPORT TO MDL_FILE ''$ExportDir/SEQ_'||SEQUENCE_NAME||
''' \
COMPONENTS (SEQUENCE ''ENECO_DWH/'||SCHEMA_NAME||'/'||SEQUENCE_NAME||''') \
OUTPUT LOG TO ''$LogDir/SEQ_'||SEQUENCE_NAME||'.log'';' as EXPORT_CMD
from OWB_OWN.ALL_IV_SEQUENCES@load_p.world T
where T.UPDATED_ON >= to_date('1-jan-2012')
union all
select
'OMBEXPORT TO MDL_FILE ''$ExportDir/MAP_'||MAP_NAME||
''' \
COMPONENTS (MAPPING ''ENECO_DWH/'||INFORMATION_SYSTEM_NAME||'/'||MAP_NAME||''') \
OUTPUT LOG TO ''$LogDir/MAP_'||MAP_NAME||'.log'';' as EXPORT_CMD
from OWB_OWN.ALL_IV_XFORM_MAPS@load_p.world T
where T.UPDATED_ON >= to_date('1-jan-2012')
;
Till Next Time
No comments:
Post a Comment