Saturday, May 28, 2011

To know Connected Column names in target from Repository Tables

Say a target having 10 columns might be having only 3 columns available in the source and hence only these 3 will be mapped in the target. Use the below query to know these connected column names.

In the below query give your folder name to SUBJECT_AREA and your mapping name to MAPPING_NAME.

SELECT TO_OBJECT_FIELD_NAME 
FROM REP_MAPPING_CONN_PORTS
WHERE TO_OBJECT_TYPE=2
AND MAPPING_NAME ='M_STG_DATA_LOAD_FOR_TESTING'
AND SUBJECT_AREA='USR_KOTHAKOP'

3 comments:

  1. Where we need to execute the query :-(

    ReplyDelete
    Replies
    1. This is Repository query. This needs to be executed in Repository database. Please ask your Infa admin to run the query incase if they do not provide you select access on repository database.

      Delete