找到影响信息中特定表的映射和工作流列表

时间:2015-01-09 06:49:48

标签: informatica informatica-powercenter

有人能告诉我如何找到使用特定表格的映射列表和工作流程,并将X作为源表或目标表吗?

2 个答案:

答案 0 :(得分:2)

Informatica元数据存储库存储和维护Informatica中所有对象的信息。因此,您必须编写外部查询来查找:

  SELECT   SUBJECT_AREA , MAPPING_NAME
  FROM REP_ALL_MAPPINGS
  where MAPPING_NAME in (
  SELECT MAPPING_NAME FROM REP_SRC_MAPPING
  where SOURCE_NAME ='X')

并找到工作流程:

 select REP_WORKFLOWS.SUBJECT_AREA, REP_WORKFLOWS.WORKFLOW_NAME
 from dbo.REP_WORKFLOWS
 join dbo.REP_WFLOW_RUN
 on REP_WORKFLOWS.WORKFLOW_ID = REP_WFLOW_RUN.WORKFLOW_ID
 where REP_WORKFLOWS.SUBJECT_AREA  in 
 (SELECT   SUBJECT_AREA 
  FROM REP_ALL_MAPPINGS
  where MAPPING_NAME in (SELECT MAPPING_NAME FROM REP_SRC_MAPPING
  where SOURCE_NAME ='X'));

答案 1 :(得分:2)

右键单击Designer中的源或目标,然后选择Dependencies。在对象类型中选择'映射'和'工作流程'然后单击“确定”