I am trying to create a schema using SYS as SYSDBA account.
Error at Command Line:1 Column:0
Error report:
SQL Error: ORA-02421: missing or invalid schema authorization identifier
02421. 00000 - "missing or invalid schema authorization identifier"
*Cause: the schema name is missing or is incorrect in an authorization
clause of a create schema statement.
*Action: If the name is present, it must be the same as the current
schema.
-----------------------
I can't see what I am doing wrong. I googled around and see some places people create an new user account just prior to creating a schema like above. When I tried it like that it worked.
So does it mean that everytime I want to create a schema, I have to create a new account? It doesn't seem right.
Cheers all for looking at it.
Code:
create schema authorization testschema create table timsheet(tid INTEGER PRIMARY KEY)
Error at Command Line:1 Column:0
Error report:
SQL Error: ORA-02421: missing or invalid schema authorization identifier
02421. 00000 - "missing or invalid schema authorization identifier"
*Cause: the schema name is missing or is incorrect in an authorization
clause of a create schema statement.
*Action: If the name is present, it must be the same as the current
schema.
-----------------------
I can't see what I am doing wrong. I googled around and see some places people create an new user account just prior to creating a schema like above. When I tried it like that it worked.
So does it mean that everytime I want to create a schema, I have to create a new account? It doesn't seem right.
Cheers all for looking at it.
Comment