Oracle Patch Registry Report

Lists all patches applied to the Oracle database from the SQL patch registry. Useful for verifying patch history, patch status, and database version compliance.

oraclesqlmaintenance-cleanupv1.0.0
0 stars0 downloads17 views0 comments
By OracleDba • Created

Code

(23 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- -----------------------------------------------------------------------------------
-- File Name    : https://oracle-base.com/dba/monitoring/patch_registry.sql
-- Author       : Tim Hall
-- Description  : Lists all patches applied.
-- Call Syntax  : @patch_registry
-- Requirements : Access to the DBA views.
-- Last Modified: 25/01/2024
-- -----------------------------------------------------------------------------------

set linesize 150
column status format a10
column action_time format a30

select install_id,
       patch_id,
       patch_uid,
       patch_type,
       action,
       status,
       target_version,
       action_time
from   dba_registry_sqlpatch
order by 1;

General Comments(0)

Tip: Click on a line number in the code to add a line-specific comment

No general comments yet. Be the first to comment!