CREATE TABLE SAKAI_EXTERNAL.BANNER_CM_SECTION (
EID VARCHAR2(91) NULL,
TITLE VARCHAR2(40) NULL,
DESCRIPTION VARCHAR2(90) NULL,
CATEGORY VARCHAR2(9) NOT NULL,
COURSEOFFERING_EID VARCHAR2(82) NULL,
ENROLLMENTSET_EID VARCHAR2(74) NULL,
MAXSIZE NUMBER(4,0) NOT NULL,
PARENT VARCHAR2(255) NULL,
CREATEDBY VARCHAR2(25) NULL,
CREATEDDATE DATE NOT NULL,
LASTMODIFIEDBY VARCHAR2(25) NULL,
LASTMODIFIEDDATE DATE NOT NULL,
TERM_CODE VARCHAR2(18) NOT NULL,
CRN VARCHAR2(15) NOT NULL,
COURSECODE VARCHAR2(27) NULL,
CONSTRAINT PK_SSBSECT1 PRIMARY KEY(TERM_CODE,CRN)
USING INDEX
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 12582912 MINEXTENTS 1 MAXEXTENTS 2147483645 )
LOGGING
)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 1 MAXTRANS 255
STORAGE( INITIAL 134217728 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
NOCACHE
MONITORING
GO
CREATE INDEX SAKAI_EXTERNAL.BANNER_CM_SECTION_DN_INDEX
ON SAKAI_EXTERNAL.BANNER_CM_SECTION(TERM_CODE, COURSECODE)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 13631488 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
GO
CREATE INDEX SAKAI_EXTERNAL.BANNER_CM_SECTION_CAT_INDEX
ON SAKAI_EXTERNAL.BANNER_CM_SECTION(CATEGORY)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 7340032 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
GO
CREATE INDEX SAKAI_EXTERNAL.BANNER_CM_SECTION_ES_INDEX
ON SAKAI_EXTERNAL.BANNER_CM_SECTION(ENROLLMENTSET_EID)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 33554432 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
GO
CREATE INDEX SAKAI_EXTERNAL.BANNER_CM_SECTION_CO_INDEX
ON SAKAI_EXTERNAL.BANNER_CM_SECTION(COURSEOFFERING_EID)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 32505856 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
GO
CREATE INDEX SAKAI_EXTERNAL.BANNER_CM_SECTION_PIDX
ON SAKAI_EXTERNAL.BANNER_CM_SECTION(EID)
TABLESPACE DATA_TS PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 33554432 MINEXTENTS 1 MAXEXTENTS 2147483645 )
PARALLEL( DEGREE 1 )
LOGGING
GO
GRANT SELECT ON SAKAI_EXTERNAL.BANNER_CM_SECTION TO SAKAI_EXTERNAL_SELECT
GO