CREATE TABLE "TEST"."XHEAD"
( "CODE" VARCHAR2(25)
DEFAULT ''
, "NAME" VARCHAR2(52) DEFAULT ''
,
"MAINBUMO" VARCHAR2(12) DEFAULT 'DefBUMO' NOT NULL
,
"DOFUKUSUU" NUMBER(8) DEFAULT 0 NOT NULL
, "DOSEIBAN"
NUMBER(8) DEFAULT 0 NOT NULL
, "SEIBHKU" NUMBER(8) DEFAULT
0 NOT NULL
, "MANUHKU" NUMBER(8) DEFAULT 1 NOT
NULL
, "DORIREKIOYA" NUMBER(8) DEFAULT 0 NOT
NULL
, "DORIREKIKO" NUMBER(8) DEFAULT 0 NOT NULL
,
"DOLOT" NUMBER(8) DEFAULT 0 NOT NULL
, "FMRPGROUP"
VARCHAR2(12) DEFAULT ''
, "DOFMRP" NUMBER(8) DEFAULT 0 NOT
NULL
, "PROJONLY" NUMBER(8) DEFAULT 0 NOT NULL
,
"TANI1" VARCHAR2(4) DEFAULT ''
, "OYAK" NUMBER(8) DEFAULT 2
NOT NULL
, "BIKOU" VARCHAR2(52) DEFAULT ''
,
"INPUTDATE" NUMBER(12) DEFAULT 0
, "INPUTUSER" VARCHAR2(10)
DEFAULT ''
, CONSTRAINT "XHEAD0" PRIMARY KEY ("CODE")
VALIDATE
, CONSTRAINT "XHEAD_DOFUKUSUUCHECK" CHECK
(DOFUKUSUU in (0,1,2,3,4,5)) VALIDATE
, CONSTRAINT
"XHEAD_DOLOTCHECK" CHECK (DOLOT in (0,1)) VALIDATE
,
CONSTRAINT "XHEAD_DORIREKIKOCHECK" CHECK (DORIREKIKO in (0,1))
VALIDATE
, CONSTRAINT "XHEAD_DORIREKIOYACHECK" CHECK
(DORIREKIOYA in (0,1,2)) VALIDATE
, CONSTRAINT
"XHEAD_DOSEIBANCHECK" CHECK (DOSEIBAN in (0,1,2,3,4))
VALIDATE
, CONSTRAINT "XHEAD_MANUHKUCHECK" CHECK (MANUHKU
in (0,1,2)) VALIDATE
, CONSTRAINT "XHEAD_SEIBHKUCHECK"
CHECK (SEIBHKU in (0,1,9)) VALIDATE
)
PCTFREE 10
INITRANS 1 MAXTRANS 255
STORAGE
( INITIAL 2760K BUFFER_POOL DEFAULT)
LOGGING