My Oracle Support Banner

ORA-20001: Users unable to create tables in their own schema (Doc ID 454298.1)

Last updated on DECEMBER 09, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 10.2.0.3 [Release 9.2 to 10.2]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

Users unable to create tables in their own schema. They have connect,resource privilege granted to them.

SQL> conn sys as sysdba
Enter password: ********
Connected.
SQL> create user test1 identified by test1
2 default tablespace users
3 temporary tablespace temp;

User created.

SQL> grant connect, resource to test1;

Grant succeeded.

SQL> alter user hleco quota unlimited on test1;

User altered.

SQL> conn test1
Enter password: *****
Connected.
SQL>
SQL> create table emp1 (col1 number(4), col2 varchar2(50));
create table emp1 (col1 number(4), col2 varchar2(50))
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: It does not have permissions to create nothing in this schema
ORA-06512: at line 13

The error text seems to be user defined message.

When we connect as sys user, then we are able to create object in test1 schema.

SQL> conn sys as sysdba
Enter password: ********
Connected.
SQL>
SQL> create table test1.emp1 (col1 number(4), col2 varchar2(50));

Table created.

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


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