数据表:T_ATS_TRIP_L(出差单多语言表)

T_ATS_TRIP_L(出差单多语言表):描述

名称

T_ATS_TRIP_L(出差单多语言表)

代码

T_ATS_TRIP_L

注释

 

模型

ATS考勤

主键

PK_ATS_TRIP_L


T_ATS_TRIP_L(出差单多语言表):列规格定义

名称

代码

数据类型

长度

强制

注释

多语言内码

FPKID

int

 

TRUE

 

出差单内码

FID

int

 

FALSE

 

语种

FLOCALEID

int

 

FALSE

 

备注

FDESCRIPTION

nvarchar(255)

255

TRUE

 

出差原因

FTRIPREASON

nvarchar(80)

80

FALSE

 


T_ATS_TRIP_L(出差单多语言表):脚本代码

if exists (select 1
from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
where r.fkeyid = object_id('T_ATS_TRIP_L') and o.name = 'FK_ATS_TRIP_L')
alter table T_ATS_TRIP_L
drop constraint FK_ATS_TRIP_L
go

if exists (select 1
from sysindexes
where id = object_id('T_ATS_TRIP_L')
and name = 'IDX_ATS_TRIP_L'
and indid > 0
and indid < 255)
drop index T_ATS_TRIP_L.IDX_ATS_TRIP_L
go

if exists (select 1
from sysobjects
where id = object_id('T_ATS_TRIP_L')
and type = 'U')
drop table T_ATS_TRIP_L
go

/*==============================================================*/
/* Table: T_ATS_TRIP_L */
/*==============================================================*/
create table T_ATS_TRIP_L (
FPKID int not null default 0,
FID int null,
FLOCALEID int null,
FDESCRIPTION nvarchar(255) not null default ' ',
FTRIPREASON nvarchar(80) null,
constraint PK_T_ATS_TRIP_L primary key (FPKID)
)
go

/*==============================================================*/
/* Index: IDX_ATS_TRIP_L */
/*==============================================================*/
create index IDX_ATS_TRIP_L on T_ATS_TRIP_L (
FID ASC
)
go

alter table T_ATS_TRIP_L
add constraint FK_ATS_TRIP_L foreign key (FID)
references T_ATS_TRIP (FID)
go


T_ATS_TRIP_L(出差单多语言表):键值定义

名称

代码

主要的

PK_ATS_TRIP_L

PK_ATS_TRIP_L

TRUE


T_ATS_TRIP_L(出差单多语言表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_ATS_TRIP_L

IDX_ATS_TRIP_L

FALSE

FALSE

FALSE

TRUE

FALSE

T_ATS_TRIP_L(出差单多语言表)