Oracle:创建表

CREATE TABLE tj_corp (
       corp_dm              VARCHAR2(9) NOT NULL,
       corp_id              VARCHAR2(20) NOT NULL,
       corp_name            VARCHAR2(30) NULL,
       bm                   VARCHAR2(20) NULL,
       corp_tzm             VARCHAR2(20) NULL,
       memo                 VARCHAR2(300) NULL,
       other                VARCHAR2(300) NULL
);
ALTER TABLE tj_corp
       ADD  ( PRIMARY KEY (corp_dm) ) ;

你可能感兴趣的:(oracle,null,table)