表名:ZL_Content_VerBak












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2GeneralIDint40    内容主键ID
3Titlenvarchar1000    内容标题
4Flownvarchar2000    流水号
5ContentBakntext160    主内容备份
6TableBakntext160    附内容备份
7CDatedatetime83     
8Inputernvarchar1000    内容作者
9ExtendBakntext160    扩展信息备份
10ZTypenvarchar500     

简要说明:

内容商品版本备份

GO
CREATE TABLE [dbo].[ZL_Content_VerBak](
[ID] [int] IDENTITY(1,1) NOT NULL,
[GeneralID] [int] NULL,
[Title] [nvarchar](100) NULL,
[Inputer] [nvarchar](100) NULL,
[Flow] [nvarchar](200) NULL,
[ContentBak] [ntext] NULL,
[TableBak] [ntext] NULL,
[ExtendBak] [ntext] NULL,
[ZType] [nvarchar](50) NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Content_VerBak] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

--注意:将清空全表数据

detele from ZL_Content_VerBak

--注意:将删除整个表

drop table ZL_Content_VerBak

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Content_VerBak