零部件表设计 T_AIS_BASE_PARTS_INFO

零部件表

create table T_AIS_BASE_PARTS_INFO(PART_ID VARCHAR2(15) not null,PART_CODE VARCHAR2(50) not null,PART_NAME VARCHAR2(100) not null,PART_STATUS VARCHAR2(10),AREA_CODE VARCHAR2(10),CUSTOMER_ID VARCHAR2(10) not null,CUSTOMER_NAME VARCHAR2(500),PRODUCT_CODE VARCHAR2(10),PRODUCT_NAME VARCHAR2(150),VARIETY_CODE VARCHAR2(10),VARIETY_NAME VARCHAR2(50),SHOPSIGN VARCHAR2(10),MATERIAL_NUMBER VARCHAR2(15),MATERIAL_NAME VARCHAR2(50),MATERIAL_THICK NUMBER(10,3),MATERIAL_WIDTH NUMBER(10,3),MATERIAL_LENGTH NUMBER(10,3),FINISHED_MATERIALS_NUMBER VARCHAR2(15),FINISHED_MATERIALS_NAME VARCHAR2(100),CUT_SIZE_THICK NUMBER(10,3),CUT_SIZE_WIDTH NUMBER(10,3),CUT_SIZE_LENGTH NUMBER(10,3),PART_COST_WEIGHT NUMBER(10,6),ZINC_COATING VARCHAR2(15),STEEL_PLATE_SURFACE_DISPOSE VARCHAR2(15),PARTS_POST_DISPOSE VARCHAR2(15),STAMPING_LEVEL VARCHAR2(15),APN VARCHAR2(15),PSR VARCHAR2(15),ORDER_STANDARD VARCHAR2(15),LIEFERANT VARCHAR2(15),CUT_FACTORY VARCHAR2(15),MATERIAL_YIELD VARCHAR2(15),REMARK VARCHAR2(200),CREATE_ID VARCHAR2(10),CREATE_DATE DATE,UPDATE_ID VARCHAR2(10),UPDATE_DATE DATE,STATUS VARCHAR2(10),PRODUCT_ADDRESS VARCHAR2(100),DENSITY NUMBER(10,3),BUSINES_DEPARTMENT VARCHAR2(50),UNIT_CODE VARCHAR2(10))tablespace AIS_DATApctfree 10initrans 1maxtrans 255storage(initial 64Kminextents 1maxextents unlimited);-- Add comments to the columnscomment on column T_AIS_BASE_PARTS_INFO.PART_IDis '零件代码';comment on column T_AIS_BASE_PARTS_INFO.PART_CODEis '客户方零件号';comment on column T_AIS_BASE_PARTS_INFO.PART_NAMEis '零件名称';comment on column T_AIS_BASE_PARTS_INFO.PART_STATUSis '零件状态(10,有效;00,无效)';comment on column T_AIS_BASE_PARTS_INFO.AREA_CODEis '区域(值集码为AREA_CODE)';comment on column T_AIS_BASE_PARTS_INFO.CUSTOMER_IDis '客户代码';comment on column T_AIS_BASE_PARTS_INFO.CUSTOMER_NAMEis '客户名称';comment on column T_AIS_BASE_PARTS_INFO.PRODUCT_CODEis '产品代码[关联产品信息表取得产品型号]';comment on column T_AIS_BASE_PARTS_INFO.PRODUCT_NAMEis '产品名称';comment on column T_AIS_BASE_PARTS_INFO.VARIETY_CODEis '品种代码';comment on column T_AIS_BASE_PARTS_INFO.VARIETY_NAMEis '品种名称';comment on column T_AIS_BASE_PARTS_INFO.SHOPSIGNis '牌号';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_NUMBERis '原料物料号';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_NAMEis '原料名称';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_THICKis '原料厚度';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_WIDTHis '原料宽度';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_LENGTHis '原料长度';comment on column T_AIS_BASE_PARTS_INFO.FINISHED_MATERIALS_NUMBERis '成品物料号';comment on column T_AIS_BASE_PARTS_INFO.FINISHED_MATERIALS_NAMEis '成品物料名称';comment on column T_AIS_BASE_PARTS_INFO.CUT_SIZE_THICKis '剪切厚度';comment on column T_AIS_BASE_PARTS_INFO.CUT_SIZE_WIDTHis '剪切宽度';comment on column T_AIS_BASE_PARTS_INFO.CUT_SIZE_LENGTHis '剪切长度';comment on column T_AIS_BASE_PARTS_INFO.PART_COST_WEIGHTis '单耗(KG)';comment on column T_AIS_BASE_PARTS_INFO.ZINC_COATINGis '锌层';comment on column T_AIS_BASE_PARTS_INFO.STEEL_PLATE_SURFACE_DISPOSEis '钢板表面处理';comment on column T_AIS_BASE_PARTS_INFO.PARTS_POST_DISPOSEis '零部件后处理';comment on column T_AIS_BASE_PARTS_INFO.STAMPING_LEVELis '冲压等级';comment on column T_AIS_BASE_PARTS_INFO.APNis 'APN';comment on column T_AIS_BASE_PARTS_INFO.PSRis 'PSR';comment on column T_AIS_BASE_PARTS_INFO.ORDER_STANDARDis '订货标准';comment on column T_AIS_BASE_PARTS_INFO.LIEFERANTis '配套厂';comment on column T_AIS_BASE_PARTS_INFO.CUT_FACTORYis '剪切厂';comment on column T_AIS_BASE_PARTS_INFO.MATERIAL_YIELDis '成材率';comment on column T_AIS_BASE_PARTS_INFO.REMARKis '备注';comment on column T_AIS_BASE_PARTS_INFO.CREATE_IDis '创建人';comment on column T_AIS_BASE_PARTS_INFO.CREATE_DATEis '创建日期';comment on column T_AIS_BASE_PARTS_INFO.UPDATE_IDis '更新人';comment on column T_AIS_BASE_PARTS_INFO.UPDATE_DATEis '更新日期';comment on column T_AIS_BASE_PARTS_INFO.STATUSis '有效状态[10,有效,00。无效]';comment on column T_AIS_BASE_PARTS_INFO.PRODUCT_ADDRESSis '产地';comment on column T_AIS_BASE_PARTS_INFO.DENSITYis '密度';comment on column T_AIS_BASE_PARTS_INFO.BUSINES_DEPARTMENTis '事业部';comment on column T_AIS_BASE_PARTS_INFO.UNIT_CODEis '单位代码';

Powered by Zoundry

你可能感兴趣的:(null,create,10,零部件)