I’m creating a type as below but not able to compile
CREATE OR REPLACE TYPE Item FORCE AS OBJECT (
id NUMBER
STATIC FUNCTION getobject RETURN item
);
getting error
[Error] Compilation (24: 3): PLS-00103: Encountered the symbol “STATIC” when expecting one of the following:
:= ) , not null default external character