Query on MX views for list of all tables used in the ETL code
(
---- Source Tables ---
SELECT DISTINCT 'Source Table' as TABLE_TYPE, PARENT_SOURCE_NAME TABLE_NAME FROM REP_ALL_SOURCES
UNION
---- Target Tables ---
SELECT DISTINCT 'Target Table' as TABLE_TYPE, PARENT_TARGET_NAME TABLE_NAME FROM REP_ALL_TARGETS
UNION
---- Lookup Tables ---
SELECT DISTINCT 'Lookup Table' as TABLE_TYPE, A.ATTR_VALUE TABLE_NAME FROM REP_ALL_TRANSFORMS T, REP_WIDGET_ATTR A
WHERE A.ATTR_DESCRIPTION = 'Lookup source table' AND A.WIDGET_ID = T.WIDGET_ID
AND T.WIDGET_TYPE_NAME = 'Lookup Procedure'
) order by 1;
This is very good and useful content of queries
ReplyDeletehttp://www.tekclasses.com/courses/etl/informatica-training-in-bangalore/