MFG制造

## 数据表：T_QM_INSPECTMETHOD(检验方法)

### T_QM_INSPECTMETHOD(检验方法)：描述

名称 | T_QM_INSPECTMETHOD(检验方法)
代码 | T_QM_INSPECTMETHOD
注释 |
模型 | MFG制造
主键 | PK_QM_INSPECTMETHOD

### T_QM_INSPECTMETHOD(检验方法)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
主键 | FID | int |  | TRUE |
组织控制字段 | FMASTERID | int |  | TRUE |
编码 | FNUMBER | nvarchar(80) | 80 | 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_INSPECTMETHOD(检验方法)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_QM_INSPECTMETHOD')
and name = 'IDX_QM_INSPECTMETHOD_DATE'
and indid > 0
and indid < 255)
drop index T_QM_INSPECTMETHOD.IDX_QM_INSPECTMETHOD_DATE
go
if exists (select 1
from sysindexes
where id = object_id('T_QM_INSPECTMETHOD')
and name = 'IDX_QM_INSPECTMETHOD_NUM'
and indid > 0
and indid < 255)
drop index T_QM_INSPECTMETHOD.IDX_QM_INSPECTMETHOD_NUM
go
if exists (select 1
from sysobjects
where id = object_id('T_QM_INSPECTMETHOD')
and type = 'U')
drop table T_QM_INSPECTMETHOD
go
/*==============================================================*/
/* Table: T_QM_INSPECTMETHOD */
/*==============================================================*/
create table T_QM_INSPECTMETHOD (
FID int not null default 0,
FMASTERID int not null default 0,
FNUMBER nvarchar(80) null,
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_INSPECTMETHOD primary key (FID)
)
go
/*==============================================================*/
/* Index: IDX_QM_INSPECTMETHOD_NUM */
/*==============================================================*/
create index IDX_QM_INSPECTMETHOD_NUM on T_QM_INSPECTMETHOD (
FNUMBER ASC
)
go
/*==============================================================*/
/* Index: IDX_QM_INSPECTMETHOD_DATE */
/*==============================================================*/
create index IDX_QM_INSPECTMETHOD_DATE on T_QM_INSPECTMETHOD (
FCREATEDATE ASC
)
go

### T_QM_INSPECTMETHOD(检验方法)：键值定义

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

### T_QM_INSPECTMETHOD(检验方法)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_QM_INSPECTMETHOD_NUM | IDX_QM_INSPECTMETHOD_NUM | FALSE | FALSE | FALSE | FALSE | FALSE | T_QM_INSPECTMETHOD(检验方法)
IDX_QM_INSPECTMETHOD_DATE | IDX_QM_INSPECTMETHOD_DATE | FALSE | FALSE | FALSE | FALSE | FALSE | T_QM_INSPECTMETHOD(检验方法)

上一页

主页

下一页