BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE STRUCTDIVISION
(
  ID RAW(16),
  NAME NVARCHAR2(256) NOT NULL,
  PARENTID RAW(16) NULL,
  CONSTRAINT PK_STRUCTDIVISION PRIMARY KEY (ID) USING INDEX STORAGE (INITIAL 64K NEXT 1M MAXEXTENTS UNLIMITED),
  CONSTRAINT FK_STRUCTDIVISION_STRUCTDIVISION FOREIGN KEY (PARENTID) REFERENCES STRUCTDIVISION(ID) ON DELETE CASCADE
) LOGGING';
END;