序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | SiteName | nvarchar | 100 | 0 | 是 | 站点名称 | ||||
3 | SiteFlag | nvarchar | 100 | 0 | 是 | 站点标识 | ||||
4 | UserID | nvarchar | 500 | 0 | 是 | 用户ID,需要支持游客,ID=0的只有管理员可修改 | ||||
5 | UserName | nvarchar | 500 | 0 | 是 | 用户名 | ||||
6 | Remind | nvarchar | 500 | 0 | 是 | 站点备注 | ||||
7 | ZStatus | int | 4 | 0 | 是 | 站点状态 | ||||
8 | CDate | datetime | 8 | 3 | 是 | 建站时间 | ||||
9 | DomainID | int | 4 | 0 | 是 | 绑定的域名ID | ||||
10 | Logo | nvarchar | 1000 | 0 | 是 | LOGO路径 | ||||
11 | Score | float | 8 | 0 | 是 | 站点分数 |
PC站点表
GO
CREATE TABLE [dbo].[ZL_Design_SiteInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[SiteName] [nvarchar](100) NULL,
[SiteFlag] [nvarchar](100) NULL,
[UserID] [nvarchar](500) NULL,
[UserName] [nvarchar](500) NULL,
[Remind] [nvarchar](500) NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
[DomainID] [int] NULL,
[Logo] [nvarchar](1000) NULL,
[Score] [float] NULL,
CONSTRAINT [PK_ZL_Design_SiteInfo] 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]
GO
SET IDENTITY_INSERT [ZL_Design_SiteInfo] ON
INSERT [ZL_Design_SiteInfo] ([ID],[SiteName],[SiteFlag],[UserID],[ZStatus],[CDate],[DomainID],[Logo]) VALUES ( 1,N'admin的站点',N'anxtvesa',N'1',1,N'2016/4/18 10:56:38',1,'/Site/1/UploadFiles/logo.jpg')
SET IDENTITY_INSERT [ZL_Design_SiteInfo] OFF
detele from ZL_Design_SiteInfo
drop table ZL_Design_SiteInfo
TRUNCATE table ZL_Design_SiteInfo