序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 否 | ||||
2 | Pid | int | 4 | 0 | 否 | 父节点id | ||||
3 | NodeName | nvarchar | 200 | 0 | 是 | 节点名称 | ||||
4 | Describe | nvarchar | 500 | 0 | 是 | 节点信息 | ||||
5 | CDate | datetime | 8 | 3 | 是 | 创建时间 | ||||
6 | CAdmin | int | 4 | 0 | 是 | 创建人 | ||||
7 | Auth | nvarchar | 500 | 0 | 是 | 节点权限 |
报纸分类表
GO
CREATE TABLE [dbo].[ZL_Publish_Node](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Pid] [int] NOT NULL,
[NodeName] [nvarchar](200) NULL,
[Describe] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[CAdmin] [int] NULL,
[Auth] [nvarchar](500) NULL,) ON [PRIMARY]
SET IDENTITY_INSERT [ZL_Publish_Node] ON
INSERT [ZL_Publish_Node] ([ID],[Pid],[NodeName],[CDate],[CAdmin]) VALUES ( 1,0,N'国际报刊',N'2017/4/7 11:29:30',0)
INSERT [ZL_Publish_Node] ([ID],[Pid],[NodeName],[CDate],[CAdmin]) VALUES ( 2,0,N'国家报刊',N'2017/4/7 11:29:42',0)
INSERT [ZL_Publish_Node] ([ID],[Pid],[NodeName],[CDate],[CAdmin]) VALUES ( 3,0,N'地方报纸',N'2017/4/7 11:29:48',0)
INSERT [ZL_Publish_Node] ([ID],[Pid],[NodeName],[CDate],[CAdmin]) VALUES ( 4,0,N'娱乐新闻',N'2017/4/7 11:29:54',0)
SET IDENTITY_INSERT [ZL_Publish_Node] OFF
detele from ZL_Publish_Node
drop table ZL_Publish_Node
TRUNCATE table ZL_Publish_Node