表名:ZL_Design_Tlp












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2TlpNamenvarchar500    模板名称
3PreviewImgnvarchar5000    缩略图
4Remindnvarchar5000    说明
5Pricemoney84    价格
6ZTypeint40    类型
7ZStatusint40    状态
8CDatedatetime83    创建时间
9ClassIDint40    模板类别
10IsDefint40    是否默认
11Scorefloat80    模板评分
12DefBynvarchar5000    是否默认

简要说明:

场景模板表

GO
CREATE TABLE [dbo].[ZL_Design_Tlp](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TlpName] [nvarchar](50) NULL,
[PreviewImg] [nvarchar](500) NULL,
[Remind] [nvarchar](500) NULL,
[Price] [money] NULL,
[ZType] [int] NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
[ClassID] [int] NULL,
[IsDef] [int] NULL,
[Score] [float] NULL, 
[DefBy] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_Design_Tlp] 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]


SET IDENTITY_INSERT [ZL_Design_Tlp] ON
INSERT [ZL_Design_Tlp] ([ID],[TlpName],[Price],[ZType],[ZStatus],[CDate],[ClassID],[IsDef]) VALUES ( 1,N'动力默认模板',0.0000,0,0,N'2016/6/24 11:52:19',6,1)
INSERT [ZL_Design_Tlp] ([ID],[TlpName],[PreviewImg],[Price],[ZType],[ZStatus],[CDate],[ClassID],[IsDef]) VALUES ( 2,N'场景默认模板',N'/design/scence/upload/page6_pic.jpg',0.0000,1,0,N'2016/6/24 11:53:20',6,1)
SET IDENTITY_INSERT [ZL_Design_Tlp] OFF

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

detele from ZL_Design_Tlp

--注意:将删除整个表

drop table ZL_Design_Tlp

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

TRUNCATE table ZL_Design_Tlp