序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ServerID | int | 4 | 0 | 是 | 否 | 镜像服务器ID | |||
2 | ServerName | nvarchar | 50 | 0 | 是 | 镜像服务器名 | ||||
3 | ServerUrl | nvarchar | 50 | 0 | 是 | 镜像服务器地址 | ||||
4 | ServerLogo | nvarchar | 255 | 0 | 是 | 镜像服务器Logo | ||||
5 | OrderID | int | 4 | 0 | 是 | 镜像服务器排序ID | ||||
6 | ShowType | int | 4 | 0 | 是 | 镜像服务器显示方式 | ||||
7 | UrlEncrypt | int | 4 | 0 | 是 | 0 | 加密方式 | |||
8 | EncryptKey | nvarchar | 255 | 0 | 是 | '' | 加密密钥 | |||
9 | TimeEncrypt | int | 4 | 0 | 是 | 0 | 时间戳加密 | |||
10 | UpTimeuti | int | 4 | 0 | 是 | 1 | 更新时间戳间隔时间 | |||
11 | Addtime | datetime | 8 | 3 | 是 | getdate | 添加时间 | |||
12 | Encryptime | datetime | 8 | 3 | 是 | getdate | 加密更新时间 | |||
13 | ReadRoot | nvarchar | 1000 | 0 | 是 | 允许访问用户组 |
下载服务器表
GO
CREATE TABLE [dbo].[ZL_DownServer](
[ServerID] [int] IDENTITY(1,1) NOT NULL,
[ServerName] [nvarchar](50) NULL,
[ServerUrl] [nvarchar](50) NULL,
[ServerLogo] [nvarchar](255) NULL,
[OrderID] [int] NULL,
[ShowType] [int] NULL,
[UrlEncrypt] [int] NULL,
[EncryptKey] [nvarchar](255) NULL,
[TimeEncrypt] [int] NULL,
[UpTimeuti] [int] NULL,
[Addtime] [datetime] NULL,
[Encryptime] [datetime] NULL,
[ReadRoot] [nvarchar](1000) NULL,
CONSTRAINT [PK_ZL_DownServer] PRIMARY KEY CLUSTERED
(
[ServerID] 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_DownServer
drop table ZL_DownServer
TRUNCATE table ZL_DownServer