数据表:T_BAS_ITEM_L(多类别基础资料多语言)

T_BAS_ITEM_L(多类别基础资料多语言):描述

名称

T_BAS_ITEM_L(多类别基础资料多语言)

代码

T_BAS_ITEM_L

注释

存储各种基础资料的主干信息,仅包括内码、代码;另外一种方案,通过视图完成具体功能,那么本表将不再存储实际数据,仅作为一个视图模版存在;

模型

BOS

主键

pk_bas_item_l


T_BAS_ITEM_L(多类别基础资料多语言):列规格定义

名称

代码

数据类型

长度

强制

注释

主键 fpkid

FPKID

int

 

TRUE

 

核算项目内码 fitemid

FITEMID

int

 

TRUE

 

语言 flocaleid

FLOCALEID

int

 

TRUE

 

名称

FNAME

nvarchar(255)

255

TRUE

 

描述

FDESCRIPTION

nvarchar(255)

255

FALSE

 


T_BAS_ITEM_L(多类别基础资料多语言):脚本代码

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

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

/*==============================================================*/
/* Table: T_BAS_ITEM_L */
/*==============================================================*/
create table T_BAS_ITEM_L (
FPKID int not null default 0,
FITEMID int not null default 0,
FLOCALEID int not null default 2052,
FNAME nvarchar(255) not null default '',
FDESCRIPTION nvarchar(255) null default '',
constraint pk_bas_item_l primary key (FPKID)
)
go

/*==============================================================*/
/* Index: idx_bas_item_l */
/*==============================================================*/
create unique index idx_bas_item_l on T_BAS_ITEM_L (
FITEMID ASC,
FLOCALEID ASC
)
go


T_BAS_ITEM_L(多类别基础资料多语言):键值定义

名称

代码

主要的

pk_bas_item_l

pk_bas_item_l

TRUE


T_BAS_ITEM_L(多类别基础资料多语言):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_bas_item_l

idx_bas_item_l

TRUE

FALSE

FALSE

FALSE

FALSE

T_BAS_ITEM_L(多类别基础资料多语言)