MFG制造

## 数据表：T_QM_DEFECTRESULT(缺陷后果)

### T_QM_DEFECTRESULT(缺陷后果)：描述

名称 | T_QM_DEFECTRESULT(缺陷后果)
代码 | T_QM_DEFECTRESULT
注释 |
模型 | MFG制造
主键 | PK_QM_DEFECTRESULT

### T_QM_DEFECTRESULT(缺陷后果)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
主键 | FID | int |  | TRUE |
组织控制字段 | FMASTERID | int |  | TRUE |
编码 | FNUMBER | nvarchar(80) | 80 | FALSE |
系统预设 | FISSYSTEMSET | char(1) | 1 | FALSE |
创建组织 | FCREATEORGID | int |  | FALSE |
使用组织 | FUSEORGID | int |  | FALSE |
创建人 | FCREATORID | int |  | FALSE |
创建日期 | FCREATEDATE | datetime |  | FALSE |
修改人 | FMODIFIERID | int |  | FALSE |
修改日期 | FMODIFYDATE | datetime |  | FALSE |
审核人 | FAPPROVERID | int |  | FALSE |
审核日期 | FAPPROVEDATE | datetime |  | FALSE |
禁用人 | FFORBIDDERID | int |  | FALSE |
禁用日期 | FFORBIDDATE | datetime |  | FALSE |
数据状态 | FDOCUMENTSTATUS | char(1) | 1 | FALSE |
禁用状态 | FFORBIDSTATUS | char(1) | 1 | FALSE |

### T_QM_DEFECTRESULT(缺陷后果)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_QM_DEFECTRESULT')
and name = 'IDX_QM_DEFECTRESULT_DATE'
and indid > 0
and indid < 255)
drop index T_QM_DEFECTRESULT.IDX_QM_DEFECTRESULT_DATE
go
if exists (select 1
from sysindexes
where id = object_id('T_QM_DEFECTRESULT')
and name = 'IDX_QM_DEFECTRESULT_NUM'
and indid > 0
and indid < 255)
drop index T_QM_DEFECTRESULT.IDX_QM_DEFECTRESULT_NUM
go
if exists (select 1
from sysobjects
where id = object_id('T_QM_DEFECTRESULT')
and type = 'U')
drop table T_QM_DEFECTRESULT
go
/*==============================================================*/
/* Table: T_QM_DEFECTRESULT */
/*==============================================================*/
create table T_QM_DEFECTRESULT (
FID int not null default 0,
FMASTERID int not null default 0,
FNUMBER nvarchar(80) null,
FISSYSTEMSET char(1) null default '0',
FCREATEORGID int null,
FUSEORGID int null,
FCREATORID int null,
FCREATEDATE datetime null,
FMODIFIERID int null,
FMODIFYDATE datetime null,
FAPPROVERID int null,
FAPPROVEDATE datetime null,
FFORBIDDERID int null,
FFORBIDDATE datetime null,
FDOCUMENTSTATUS char(1) null,
FFORBIDSTATUS char(1) null,
constraint PK_QM_DEFECTRESULT primary key (FID)
)
go
/*==============================================================*/
/* Index: IDX_QM_DEFECTRESULT_NUM */
/*==============================================================*/
create index IDX_QM_DEFECTRESULT_NUM on T_QM_DEFECTRESULT (
FNUMBER ASC
)
go
/*==============================================================*/
/* Index: IDX_QM_DEFECTRESULT_DATE */
/*==============================================================*/
create index IDX_QM_DEFECTRESULT_DATE on T_QM_DEFECTRESULT (
FCREATEDATE ASC
)
go

### T_QM_DEFECTRESULT(缺陷后果)：键值定义

名称 | 代码 | 主要的
PK_QM_DEFECTRESULT | PK_QM_DEFECTRESULT | TRUE

### T_QM_DEFECTRESULT(缺陷后果)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_QM_DEFECTRESULT_NUM | IDX_QM_DEFECTRESULT_NUM | FALSE | FALSE | FALSE | FALSE | FALSE | T_QM_DEFECTRESULT(缺陷后果)
IDX_QM_DEFECTRESULT_DATE | IDX_QM_DEFECTRESULT_DATE | FALSE | FALSE | FALSE | FALSE | FALSE | T_QM_DEFECTRESULT(缺陷后果)

上一页

主页

下一页