SCO供应链协同

## 数据表：T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)

### T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)：描述

名称 | T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)
代码 | T_SPM_PROMOTIONPROJECT_L
注释 | 促销费用项目多语言
模型 | SCO供应链协同
主键 | PK_SPM_PROMOTIONPROJECT_L

### T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
多语言主键 | FPKID | int |  | TRUE |
促销费用项目ID | FPROMOTIONPROJECTID | int |  | TRUE |
多语言ID | FLOCALEID | int |  | TRUE |
名称 | FNAME | nvarchar(50) | 50 | TRUE |
描述 | FDESCRIPTION | nvarchar(255) | 255 | TRUE |

### T_SPM_PROMOTIONPROJECT_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_SPM_PROMOTIONPROJECT_L') and o.name = 'FK_T_SPM_PR_REFERENCE_T_SPM_PR')
alter table T_SPM_PROMOTIONPROJECT_L
drop constraint FK_T_SPM_PR_REFERENCE_T_SPM_PR
go
if exists (select 1
from sysindexes
where id = object_id('T_SPM_PROMOTIONPROJECT_L')
and name = 'IDX_SPM_PROMOPROL_ID'
and indid > 0
and indid < 255)
drop index T_SPM_PROMOTIONPROJECT_L.IDX_SPM_PROMOPROL_ID
go
if exists (select 1
from sysobjects
where id = object_id('T_SPM_PROMOTIONPROJECT_L')
and type = 'U')
drop table T_SPM_PROMOTIONPROJECT_L
go
/*==============================================================*/
/* Table: T_SPM_PROMOTIONPROJECT_L */
/*==============================================================*/
create table T_SPM_PROMOTIONPROJECT_L (
FPKID int not null default 0,
FPROMOTIONPROJECTID int not null default 0,
FLOCALEID int not null default 0,
FNAME nvarchar(50) not null default '',
FDESCRIPTION nvarchar(255) not null default '',
constraint PK_SPM_PROMOTIONPROJECT_L primary key (FPKID)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'促销费用项目多语言',
'user', @CurrentUser, 'table', 'T_SPM_PROMOTIONPROJECT_L'
go
/*==============================================================*/
/* Index: IDX_SPM_PROMOPROL_ID */
/*==============================================================*/
create index IDX_SPM_PROMOPROL_ID on T_SPM_PROMOTIONPROJECT_L (
FPROMOTIONPROJECTID ASC
)
go
alter table T_SPM_PROMOTIONPROJECT_L
add constraint FK_T_SPM_PR_REFERENCE_T_SPM_PR foreign key (FPROMOTIONPROJECTID)
references T_SPM_PROMOTIONPROJECT (FPROMOTIONPROJECTID)
go

### T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)：键值定义

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

### T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_SPM_PROMOPROL_ID | IDX_SPM_PROMOPROL_ID | FALSE | FALSE | FALSE | FALSE | FALSE | T_SPM_PROMOTIONPROJECT_L(促销费用项目多语言（废弃）)

上一页

主页

下一页