Check the https://support.oracle.com note :
Oracle Database 12.1 : FAQ on Queryable Patch Inventory [ID 1530108.1]
from the name you can see it’s retrieve information using query, and to use query you have to get access to SQL Plus, this features allow you access to the OPatch information from within the database. This Package called DBMS_QOPATCH
Some of Attribute to use with this package :
- GET_OPATCH_INSTALL_INFO
- SET_CURRENT_OPINST
- GET_OPATCH_LIST
- IS_PATCH_INSTALLED
- GET_OPATCH_DATA
- GET_OPATCH_BUGS
- GET_OPATCH_FILES
- GET_OPATCH_COUNT
- GET_OPATCH_PREQS
- GET_OPATCH_OLAYS
- PATCH_CONFLICT_DETECTION
- GET_PENDING_ACTIVITY
- GET_OPATCH_XSLT
- GET_OPATCH_LSINVENTORY
- GET_SQLPATCH_STATUS
SQL> select dbms_qopatch.get_opatch_lsinventory() from dual;
DBMS_QOPATCH.GET_OPATCH_LSINVENTORY()
——————————————————————————–
SQL> select dbms_qopatch.GET_PENDING_ACTIVITY() from dual;
DBMS_QOPATCH.GET_PENDING_ACTIVITY()
——————————————————————————–
