11gR2
---------------
Why I am getting below error? I search google but I didn't understand the reason. can you please explained in more clearly. Thanks
CREATE OR REPLACE TYPE "A" as object (
x_ number,
y_ varchar2(10),
member procedure to_lower
);
ORA-06545: PL/SQL: compilation error - compilation aborted
ORA-06550: line 7, column 1:
PLS-00103: Encountered the symbol "CREATE"
ORA-06550: line 0, column 0:
PLS-00565: A must be completed as a potential REF target (object type)