-- created by Oraschemadoc Fri Jun 13 14:05:58 2008
-- visit http://www.yarpen.cz/oraschemadoc/ for more info

  CREATE TABLE "RHNSAT"."RHN_SCHEDULE_DAYS" 
   (	"RECID" NUMBER(12,0) CONSTRAINT "RHN_SCHDY_RECID_NN" NOT NULL ENABLE, 
	"SCHEDULE_ID" NUMBER(12,0), 
	"ORD" NUMBER(3,0), 
	"START_1" DATE, 
	"END_1" DATE, 
	"START_2" DATE, 
	"END_2" DATE, 
	"START_3" DATE, 
	"END_3" DATE, 
	"START_4" DATE, 
	"END_4" DATE, 
	"LAST_UPDATE_USER" VARCHAR2(40), 
	"LAST_UPDATE_DATE" VARCHAR2(40), 
	 CONSTRAINT "RHN_SCHDY_RECID_CK" CHECK (recid > 0) ENABLE, 
	 CONSTRAINT "RHN_SCHDY_RECID_PK" PRIMARY KEY ("RECID")
  USING INDEX PCTFREE 10 INITRANS 32 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 16 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "DATA_TBS"  ENABLE, 
	 CONSTRAINT "RHN_SCHDY_SCHED_SCHEDULE_ID_FK" FOREIGN KEY ("SCHEDULE_ID")
	  REFERENCES "RHNSAT"."RHN_SCHEDULES" ("RECID") ON DELETE CASCADE ENABLE
   ) PCTFREE 10 PCTUSED 40 INITRANS 32 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 16 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "DATA_TBS" 
 
/
