I am trying to create a new Schema in Oracle 11g.
I have referred to the Oracle documentation
I have tried to execute the commands mentioned there.
CREATE SCHEMA AUTHORIZATION oe
CREATE TABLE new_product
(color VARCHAR2(10) PRIMARY KEY, quantity NUMBER)
CREATE VIEW new_product_view
AS SELECT color, quantity FROM new_product WHERE color = 'RED'
GRANT select ON new_product_view TO hr;
I am getting the following error when I run this commands in Eclipse.
ORA-02421: missing or invalid schema authorization identifier (0 rows affected)
Elapsed Time: 0 hr, 0 min, 0 sec, 0 ms.
Anybody has an idea why this is happening ?
Thank you.