My Oracle Support Banner

ORA-20001 Error Occurs When Executing DBMS_STATS.GATHER_SCHEMA_STATS With a Schema That Contains Hyphen (Doc ID 2915373.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 19.8.0.0.0 and later
Oracle Database - Standard Edition - Version 19.8.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Executing DBMS_STATS.GATHER_SCHEMA_STATS on a schema that contains hyphen will result in an ORA-20001 error.

An example of execution is as follows:

 

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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.