PSU, patches info not filled
Hello,
the SQL-Syntax for the PSU, patches info has an error:
SQL> prompt ##
prompt PSU, patches info
select to_char(action_time,'yyyy-mm-dd') "DATE",
patch_id,
version,
action,
status,
description
from sys.registry$sqlpatch
order by action_time;
##
SQL> PSU, patches info
SQL> SQL> 2 3 4 5 6 7 8 version,
*
ERROR at line 3:
ORA-00904: "VERSION": invalid identifier
prompt PSU, patches info
select to_char(action_time,'yyyy-mm-dd') "DATE",
patch_id,
version,
action,
status,
description
from sys.registry$sqlpatch
order by action_time;
##
SQL> PSU, patches info
SQL> SQL> 2 3 4 5 6 7 8 version,
*
ERROR at line 3:
ORA-00904: "VERSION": invalid identifier
Name Null? Type
----------------------------------------- -------- ----------------------------
INSTALL_ID NOT NULL NUMBER
PATCH_ID NOT NULL NUMBER
PATCH_UID NOT NULL NUMBER
PATCH_TYPE NOT NULL VARCHAR2(10)
ACTION NOT NULL VARCHAR2(15)
STATUS NOT NULL VARCHAR2(25)
ACTION_TIME NOT NULL TIMESTAMP(6)
DESCRIPTION VARCHAR2(100)
LOGFILE NOT NULL VARCHAR2(500)
RU_LOGFILE VARCHAR2(500)
FLAGS VARCHAR2(10)
PATCH_DESCRIPTOR NOT NULL XMLTYPE
PATCH_DIRECTORY BLOB
SOURCE_VERSION VARCHAR2(15)
SOURCE_BUILD_DESCRIPTION VARCHAR2(80)
SOURCE_BUILD_TIMESTAMP TIMESTAMP(6)
TARGET_VERSION VARCHAR2(15)
TARGET_BUILD_DESCRIPTION VARCHAR2(80)
TARGET_BUILD_TIMESTAMP TIMESTAMP(6)
Maybe SOURCE_VERSION can be used?
Kind regards,
Frank
Comments
-
Update: This is obviously a change with Oracle 19c, because for 12c it works just fine.
-
Hello Frank,are you able to get version with this select? (on 19c)SELECT SOURCE_VERSION FROM sys.REGISTRY$SQLPATCH;Because I am unable to do so on 18c. Just want to check before we try to find a replacement.Regards,Daniel
-
Hi Daniel,I can query that column:SQL> SELECT SOURCE_VERSION FROM sys.REGISTRY$SQLPATCH;
SOURCE_VERSION
---------------
19.1.0.0.0Kind regards,Frank
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle