SQL Patch creation fails with PLS-00222 in 12.1.0.2
(Doc ID 3004507.1)
Last updated on JULY 22, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]Information in this document applies to any platform.
Symptoms
On : 12.1.0.2 version, RDBMS
SQL Patch
according to Doc ID 1931944.1 you can in RDBMS 12.1.0.2 use SYS.DBMS_SQLDIAG_INTERNAL.i_create_patch to create an SQL Patch for a statement.
But it fails with below error :
patch_name := sys.dbms_sqldiag_internal.i_create_patch(sql_text=>'DELETE FROM xxx ''%''||:B1',
*
ERROR at line 3:
ORA-06550: line 3, column 16:
PLS-00222: no function with name 'I_CREATE_PATCH' exists in this scope
ORA-06550: line 3, column 2:
PL/SQL: Statement ignored
ERROR
-----------------------
PLS-00222
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |