Logo DWBI.org Login / Sign Up
Sign Up
Have Login?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Login
New Account?
Recovery
Go to Login
By continuing you indicate that you agree to Terms of Service and Privacy Policy of the site.
Informatica

How to get Folders and Mapping names from Informatica Metadata Query

Updated on Sep 30, 2020

We can use OPB_MAPPING and OPB_SUBJECT tables residing under informatica Repository to obtain information about all the mappings under each Informatica Folder. Following SQL query shows you how to do it.

Below SQL query that shows the names of all the Folders in the repository and the mappings contained in them along with last saved date, mapping version number and versioning comments, if any.

SELECT
  S.SUBJ_NAME FOLDER,
  M.MAPPING_NAME MAPPING,
  M.VERSION_NUMBER VERSION_NUMBER,
  CASE WHEN M.IS_VALID = 1 THEN 'YES' ELSE 'NO' END IS_VALID,
  M.LAST_SAVED SAVED_ON,
  M.CHECKOUT_USER_ID,
  M.COMMENTS
FROM OPB_MAPPING M, OPB_SUBJECT S
WHERE M.SUBJECT_ID = S.SUBJ_ID
AND is_visible = 1
ORDER BY 1, 2, 3;

NOTE: Please note that the above query result also shows all the mapplet present 

Informatica Metadata Tables - Overview and Tutorial

How to get Informatica Repository Information from Metadata

Useful Informatica Metadata Repository Queries