表名:ZL_Content_CR












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2WorksIDnvarchar500    作品ID
3GeneralIDint40    内容表ID
4KeyWordsnvarchar500    关键字
5Authornvarchar500    作者
6Titlenvarchar500    标题
7Commentnvarchar10000    内容
8Typenvarchar500    类型
9FromTypenvarchar500    应用对应类型,如weibo,blog
10FromUrlnvarchar500    原文地址
11CreateDatedatetime83    添加时间
12Statusint40    添加状态,0为失败,1为成功
13RepPricemoney84    转载价格
14MatPricemoney84    素材价格

简要说明:

版权印内容表

GO
CREATE TABLE [dbo].[ZL_Content_CR](
[ID] [int] IDENTITY(1,1) NOT NULL,
[WorksID] [nvarchar](50) NULL,
[GeneralID] [int] NULL,
[KeyWords] [nvarchar](50) NULL,
[Author] [nvarchar](50) NULL,
[Title] [nvarchar](50) NULL,
[Comment] [nvarchar](1000) NULL,
[Type] [nvarchar](50) NULL,
[FromType] [nvarchar](50) NULL,
[FromUrl] [nvarchar](50) NULL,
[CreateDate] [datetime] NULL,
[Status] [int] NULL,
[RepPrice] [money] NULL,
[MatPrice] [money] NULL,
CONSTRAINT [PK_ZL_Content_CR] 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]

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

detele from ZL_Content_CR

--注意:将删除整个表

drop table ZL_Content_CR

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

TRUNCATE table ZL_Content_CR