数据表:T_PA_SALARYACCOUNT_L(薪酬账户多语言表)

T_PA_SALARYACCOUNT_L(薪酬账户多语言表):描述

名称

T_PA_SALARYACCOUNT_L(薪酬账户多语言表)

代码

T_PA_SALARYACCOUNT_L

注释

 

模型

PA

主键

PK_PA_SALARYACCOUNT


T_PA_SALARYACCOUNT_L(薪酬账户多语言表):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FPKID

int

 

TRUE

 

薪酬账户内码

FID

int

 

TRUE

 

名称

FNAME

nvarchar(80)

80

TRUE

 

语言码

FLOCALEID

int

 

TRUE

 


T_PA_SALARYACCOUNT_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_PA_SALARYACCOUNT_L') and o.name = 'FK_T_PA_SALARYACCOUNT_L')
alter table T_PA_SALARYACCOUNT_L
drop constraint FK_T_PA_SALARYACCOUNT_L
go

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

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

/*==============================================================*/
/* Table: T_PA_SALARYACCOUNT_L */
/*==============================================================*/
create table T_PA_SALARYACCOUNT_L (
FPKID int not null default 0,
FID int not null default 0,
FNAME nvarchar(80) not null default ' ',
FLOCALEID int not null default 2052,
constraint PK_T_PA_SALARYACCOUNT_L primary key (FPKID)
)
go

/*==============================================================*/
/* Index: IDX_PA_SALARYACCOUNT_L */
/*==============================================================*/
create index IDX_PA_SALARYACCOUNT_L on T_PA_SALARYACCOUNT_L (
FID ASC
)
go

alter table T_PA_SALARYACCOUNT_L
add constraint FK_T_PA_SALARYACCOUNT_L foreign key (FID)
references T_PA_SALARYACCOUNT (FID)
go


T_PA_SALARYACCOUNT_L(薪酬账户多语言表):键值定义

名称

代码

主要的

PK_PA_SALARYACCOUNT

PK_PA_SALARYACCOUNT

TRUE


T_PA_SALARYACCOUNT_L(薪酬账户多语言表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_PA_SALARYACCOUNT_L

IDX_PA_SALARYACCOUNT_L

FALSE

FALSE

FALSE

TRUE

FALSE

T_PA_SALARYACCOUNT_L(薪酬账户多语言表)