表名:ZL_Design_TlpClass












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Namenvarchar1000    模板类型名称
3Pidint40    父节点ID
4OrderIDint40    排序编号
5AdminIDint40    管理员ID
6depthint40    深度,插入时计算
7Remindnvarchar5000    备注信息
8CDatedatetime83     

简要说明:

场景模板类型表

GO
CREATE TABLE [dbo].[ZL_Design_TlpClass](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NULL,
[Pid] [int] NULL,
[OrderID] [int] NULL,
[AdminID] [int] NULL,
[depth] [int] NULL,
[Remind] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Design_TlpClass] 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_Design_TlpClass

--注意:将删除整个表

drop table ZL_Design_TlpClass

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

TRUNCATE table ZL_Design_TlpClass