|
Oracle创建表 -- Create table conn CUX/CUX@devp;――客户化表在CUX用户下创建 DROP TABLECUX.CUX_PLN_CLDR_DTL_T; create table CUX.CUX_PLN_CLDR_DTL_T ( HEADER_ID NUMBER NOT NULL , DTL_ID NUMBER NOT NULL PRIMARYKEY, --主键关键字 LINE_NUMBER NUMBER NOT NULL,--编号 LINE_NAME VARCHAR2(2000),--显示名称 DATE_FROM DATE,--开始日期 DATE_TO DATE,--结束日期 LAST_UPDATE_DATE DATE NOT NULL, LAST_UPDATED_BY NUMBER(15) NOT NULL, CREATION_DATE DATE NOT NULL, CREATED_BY NUMBER(15) NOT NULL, LAST_UPDATE_LOGIN NUMBER(15) NOT NULL, ATTRIBUTE1 VARCHAR2(150), ATTRIBUTE2 VARCHAR2(150), ATTRIBUTE3 VARCHAR2(150), ATTRIBUTE4 VARCHAR2(150), ATTRIBUTE5 VARCHAR2(150), ATTRIBUTE6 VARCHAR2(150), ATTRIBUTE7 VARCHAR2(150), ATTRIBUTE8 VARCHAR2(150), ATTRIBUTE9 VARCHAR2(150), ATTRIBUTE10 VARCHAR2(150), ATTRIBUTE11 VARCHAR2(150), ATTRIBUTE12 VARCHAR2(150), ATTRIBUTE13 VARCHAR2(150), ATTRIBUTE14 VARCHAR2(150), ATTRIBUTE15 VARCHAR2(150), ATTRIBUTE16 VARCHAR2(150), ATTRIBUTE17 VARCHAR2(150), ATTRIBUTE18 VARCHAR2(150), ATTRIBUTE19 VARCHAR2(150), ATTRIBUTE20 VARCHAR2(150), ATTRIBUTE21 VARCHAR2(150), ATTRIBUTE22 VARCHAR2(150), ATTRIBUTE23 VARCHAR2(150), ATTRIBUTE24 VARCHAR2(150), ATTRIBUTE25 VARCHAR2(150), ATTRIBUTE26 VARCHAR2(150), ATTRIBUTE27 VARCHAR2(150), ATTRIBUTE28 VARCHAR2(150), ATTRIBUTE29 VARCHAR2(150), ATTRIBUTE30 VARCHAR2(150), Structure_id NUMBER, Context VARCHAR2(150), Attribute_category_code VARCHAR2(150) );
|