Archive for November, 2015

How to get the information of deployment groups older than 30 days. As part of cleanup process one needs to know this information.

The below query will give the required information. It query the meta-data tables of informatica.

select distinct rdg.dep_group_name
from rep_deploy_group rdg
(to_date(to_char(last_saved),‘mm/dd/yyyy hh24:mi:ss’) < (sysdate-30)
and upper(rdg.dep_group_name) not in
select max(upper(dep_group_name)) as dep_group_name
from rep_deploy_group
group by substr(dep_group_name,0, instr(dep_group_name,’_’,-1)-1))
or to_date(to_char(last_saved),‘mm/dd/yyyy hh24:mi:ss’) < (sysdate-180)