表名:ZL_Design_PPT












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Guidvarchar2000    PPT Guid
3pagentext160    页面数据
4compntext160    压缩后的Json
5CDatedatetime83    创建时间
6UPDatedatetime83    修改时间
7UserIDint40    所属用户编号
8UserNamenvarchar1000    所属用户
9Remindnvarchar1000    备注
10labelArrntext160    标签集合
11Titlenvarchar500    网页标题
12Metanvarchar40000    标注页面元信息
13Resourcentext160    引入的JS和CSS资源
14Pathnvarchar5000    页面路径,给予路由定位,示例:/dir/index
15ZTypeint40    0:普通页面,1:模板,2:全局组件
16TlpIDint40    模板ID
17SiteIDint40    IsTemplate,该页面是否为一个模板页
18OrderIDint40    订单编号
19scencentext160    场景,仅用于场景设计
20PreviewImgnvarchar40000    PPT预览图
21ThumbImgnvarchar5000    PPT缩略图
22Statusint40     
23Scorereal40    评分
24Seflagnvarchar2000    系统标识
25AccessPwdnvarchar2000    访问密码
26CUserint40     

简要说明:

智能PPT表

GO
CREATE TABLE [dbo].[ZL_Design_PPT](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Guid] [varchar](200) NULL,
[page] [ntext] NULL,
[comp] [ntext] NULL,
[CDate] [datetime] NULL,
[UPDate] [datetime] NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](100) NULL,
[Remind] [nvarchar](100) NULL,
[labelArr] [ntext] NULL,
[Title] [nvarchar](50) NULL,
[Meta] [nvarchar](4000) NULL,
[Resource] [ntext] NULL,
[Path] [nvarchar](500) NULL,
[ZType] [int] NULL,
[TlpID] [int] NULL,
[SiteID] [int] NULL,
[OrderID] [int] NULL,
[scence] [ntext] NULL,
[PreviewImg] [nvarchar](4000) NULL,
[ThumbImg] [nvarchar](500) NULL,
[Status] [int] NULL,
[Score] [real] NULL,
[Seflag] [nvarchar](200) NULL,
[AccessPwd] [nvarchar](200) NULL,
[CUser] [int] NULL,
CONSTRAINT [PK_ZL_Design_PPT] 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_Design_PPT

--注意:将删除整个表

drop table ZL_Design_PPT

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

TRUNCATE table ZL_Design_PPT