SCO供应链协同

## 数据表：T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)

### T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)：描述

名称 | T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)
代码 | T_RPM_RETURNPROFITTYPE_L
注释 | 返利类型多语言表
模型 | SCO供应链协同
主键 | PK_RPM_RETURNPROFITTYPE_L

### T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
多语言主键ID | FPKID | int |  | TRUE |
返利类型ID | FRPTYPEID | int |  | TRUE |
多语言ID | FLOCALEID | int |  | TRUE |
名称 | FNAME | nvarchar(80) | 80 | FALSE |
描述 | FDESCRIPTION | nvarchar(255) | 255 | FALSE |

### T_RPM_RETURNPROFITTYPE_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_RPM_RETURNPROFITTYPE_L') and o.name = 'FK_T_RPM_RE_R_RPTYPE__T_RPM_RE')
alter table T_RPM_RETURNPROFITTYPE_L
drop constraint FK_T_RPM_RE_R_RPTYPE__T_RPM_RE
go
if exists (select 1
from sysindexes
where id = object_id('T_RPM_RETURNPROFITTYPE_L')
and name = 'IDX_RPM_RPTYPE_L_ID'
and indid > 0
and indid < 255)
drop index T_RPM_RETURNPROFITTYPE_L.IDX_RPM_RPTYPE_L_ID
go
if exists (select 1
from sysobjects
where id = object_id('T_RPM_RETURNPROFITTYPE_L')
and type = 'U')
drop table T_RPM_RETURNPROFITTYPE_L
go
/*==============================================================*/
/* Table: T_RPM_RETURNPROFITTYPE_L */
/*==============================================================*/
create table T_RPM_RETURNPROFITTYPE_L (
FPKID int not null default 0,
FRPTYPEID int not null default 0,
FLOCALEID int not null default 0,
FNAME nvarchar(80) null default '',
FDESCRIPTION nvarchar(255) null default '',
constraint PK_RPM_RETURNPROFITTYPE_L primary key (FPKID)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'返利类型多语言表',
'user', @CurrentUser, 'table', 'T_RPM_RETURNPROFITTYPE_L'
go
/*==============================================================*/
/* Index: IDX_RPM_RPTYPE_L_ID */
/*==============================================================*/
create index IDX_RPM_RPTYPE_L_ID on T_RPM_RETURNPROFITTYPE_L (
FRPTYPEID ASC,
FLOCALEID ASC
)
go
alter table T_RPM_RETURNPROFITTYPE_L
add constraint FK_T_RPM_RE_R_RPTYPE__T_RPM_RE foreign key (FRPTYPEID)
references T_RPM_RETURNPROFITTYPE (FRPTYPEID)
go

### T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)：键值定义

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

### T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_RPM_RPTYPE_L_ID | IDX_RPM_RPTYPE_L_ID | FALSE | FALSE | FALSE | FALSE | FALSE | T_RPM_RETURNPROFITTYPE_L(返利类型多语言表)

上一页

主页

下一页