SOLVED

ORA-19381: Cannot Create Staging Table In SYS Schema

Asked by OracleDba13 viewsoracle
1
2
3
4
5
ORA-19381: Cannot Create Staging Table In SYS Schema

PROBLEM:

While creating a staging table in oracle database for SYS user, for storing baseline, we got this error.
#oracle#error

Solutions(1)

Accepted Solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Staging tables can’t be created under SYS user. So try to create the staging table from other USERS.

SQL> connect LEARNOMATE

Enter password:

Connected.

SQL> show user

USER is "LEARNOMATE"

SQL> BEGIN

DBMS_SPM.CREATE_STGTAB_BASELINE(

table_name => 'spm_stageing_tab',

tablespace_name => 'USERS');

END;

/

2 3 4 5 6

PL/SQL procedure successfully completed.
OracleDba

Post Your Solution