12345678910111213141516171819202122232425262728293031323334 |
- IF not EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tb_ErpShopAssignmente]') AND type in (N'U'))
- begin
- create table tb_ErpShopAssignmente(
- ID int identity(1,1) not null,
- Agt_Priority int not null,
- Agt_PublishName nvarchar(20) not null,
- Agt_PublishTime datetime not null,
- Agt_Content nvarchar(200) not null,
- Agt_ManageName nvarchar(20) not null,
- Agt_CompleteTime datetime not null,
- Agt_CompleteStatus int not null,
- Agt_Summary nvarchar(200) not null,
- Agt_Revert nvarchar(200) not null,
- Agt_CreateDatetime datetime not null,
- Agt_CreateName nvarchar(20) not null,
- Agt_UpdateDatetime datetime not null,
- Agt_UpdateName nvarchar(20) not null
- )
- end
- GO
- IF not EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tb_ErpShopDebriefing]') AND type in (N'U'))
- begin
- create table tb_ErpShopDebriefing(
- Rpt_ID int identity(1,1) not null,
- Rpt_CompleteState int not null,
- Rpt_Summary nvarchar(200) not null,
- Rpt_CreateDatetime datetime not null,
- Rpt_UpdateName nvarchar(20) not null
- )
- end
- GO
|