You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.3 KiB
42 lines
2.3 KiB
--------------------------------------------------------
|
|
-- DDL for Table MAP_STORAGE_AND_SHTC
|
|
--------------------------------------------------------
|
|
|
|
CREATE TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"
|
|
(
|
|
"STORAGE_ID" VARCHAR2(7 CHAR),
|
|
"STATION_TYPE" NUMBER(1, 0),
|
|
"PLCC_STATION_ID" VARCHAR2(9 CHAR),
|
|
"PLCC_SOFTWARE_ID" VARCHAR2(7 CHAR),
|
|
"SHTC_STATION_ID" VARCHAR2(9 CHAR),
|
|
"SHTC_SOFTWARE_ID" VARCHAR2(7 CHAR),
|
|
"AGVC_STATION_ID" VARCHAR2(9 CHAR),
|
|
"AGVC_SOFTWARE_ID" VARCHAR2(7 CHAR),
|
|
"STORAGE_LOCK_STATUS" NUMBER(1,0)
|
|
)
|
|
SEGMENT CREATION IMMEDIATE
|
|
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
|
|
NOCOMPRESS LOGGING
|
|
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
|
|
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
|
|
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
|
|
TABLESPACE "SYSTEM" ;
|
|
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."STORAGE_ID" IS '儲存區編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."STATION_TYPE" IS '站點類別';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."PLCC_STATION_ID" IS 'PLCC 站點編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."PLCC_SOFTWARE_ID" IS 'PLCC 軟體編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."SHTC_STATION_ID" IS 'SHTC 站點編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."SHTC_SOFTWARE_ID" IS 'SHTC 軟體編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."SHTC_STATION_ID" IS 'AGVC 站點編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."SHTC_SOFTWARE_ID" IS 'AGVC 軟體編號';
|
|
COMMENT ON COLUMN "MIRLE"."CFG_PERIPHERAL_EQUIPMENT"."STORAGE_LOCK_STATUS" IS '儲存區鎖定狀態';
|
|
--------------------------------------------------------
|
|
-- Constraints for Table MAP_STORAGE_AND_SHTC
|
|
--------------------------------------------------------
|
|
|
|
ALTER TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT" MODIFY ("STORAGE_ID" NOT NULL ENABLE);
|
|
ALTER TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT" MODIFY ("STATION_TYPE" NOT NULL ENABLE);
|
|
ALTER TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT" MODIFY ("PLCC_STATION_ID" NOT NULL ENABLE);
|
|
ALTER TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT" MODIFY ("PLCC_SOFTWARE_ID" NOT NULL ENABLE);
|
|
ALTER TABLE "MIRLE"."CFG_PERIPHERAL_EQUIPMENT" MODIFY ("STORAGE_LOCK_STATUS" NOT NULL ENABLE);
|