About Me.

My self Adinarayana working as Implementation Application DBA with advanced technologies like RAC/PCP,OID/SSO,DMZ,Exadata and Fusion Middleware i.e Demantra,Application Server,SOA,FMW,BPEL and UPK. Created this blog to share the useful information related to DBA and Application DBA Your comments and suggestions are most welcome. Disclaimer: Please note all the views and opinions expressed in this site are my own. It's not recommend to use the fixes/suggestions provided in this site directly in production instance, please test them before implementing.

Monday, July 22, 2013

Patching

1.Patch details with date and Node details

set pagesize 1000
set linesize 130
col "PATCH NAME" for a15
col "NODE NAME" for a15
col PLATFORM for a13
col "FILE NAME" for a15
select a.name as "NODE NAME", b.driver_file_name as "FILE NAME",b.orig_patch_name as "PATCH NAME",
b.platform as "PLATFORM", done.language as "LANGUAGE", c.success_flag as "SUCCESS",
to_char(c.start_date,'dd-MON-yyyy hh24:mi:ss') as "START DATE",
to_char(c.end_date,'dd-MON-yyyy hh24:mi:ss') as "END DATE"
from
ad_appl_tops a,
ad_patch_drivers b,
ad_patch_runs c,
ad_patch_driver_langs done
where
b.patch_driver_id=c.patch_driver_id
and c.appl_top_id=a.appl_top_id
and done.patch_driver_id=c.patch_driver_id
and b.orig_patch_name like '%&patch_number'
order by 1;

No comments:

Post a Comment