我只知道前面CREATE TABLE 建表,后面一坨不知道什么意思,麻烦细说下,最好每一个都详细点
CREATE TABLE LINK_ACCT
(
PARA_CODE VARCHAR2(6 CHAR) NOT NULL,
PARA_DESC VARCHAR2(100 CHAR) NOT NULL,
PARA_VALUE VARCHAR2(100 CHAR),
LINK_TYPE VARCHAR2(3 CHAR),
REMARKS VARCHAR2(200 CHAR)
)
TABLESPACE LINK_DATA
RESULT_CACHE (MODE DEFAULT)
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
COMMENT ON TABLE LINK_ACCT IS 'xxxxxxxxxxxxxxxx';
COMMENT ON COLUMN LINK_ACCT.PARA_CODE IS 'xxxxx';
COMMENT ON COLUMN LINK_ACCT.PARA_DESC IS 'xxxx';
COMMENT ON COLUMN LINK_ACCT.PARA_VALUE IS 'xxx';
COMMENT ON COLUMN LINK_ACCT.LINK_TYPE IS 'xxx';
COMMENT ON COLUMN LINK_ACCT.REMARKS IS 'xxx';
CREATE UNIQUE INDEX LINK_ACCT_PK ON LINK_ACCT
(PARA_CODE)
LOGGING
TABLESPACE LINK_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
)
NOPARALLEL;
ALTER TABLE LINK_ACCT ADD (
CONSTRAINT LINK_ACCT_PK
PRIMARY KEY
(PARA_CODE)
USING INDEX LINK_ACCT_PK
ENABLE VALIDATE);