序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Alias | nvarchar | 100 | 0 | 是 | 监控别名 | ||||
3 | Domain | nvarchar | 100 | 0 | 是 | 监控域名 | ||||
4 | IP | nvarchar | 100 | 0 | 是 | 监控IP | ||||
5 | M_User | nvarchar | 100 | 0 | 是 | 监控用户名 | ||||
6 | M_Pwd | nvarchar | 100 | 0 | 是 | 监控密码 | ||||
7 | M_Channel | int | 4 | 0 | 是 | 监控通道 | ||||
8 | AdminID | int | 4 | 0 | 是 | |||||
9 | ZStatus | int | 4 | 0 | 是 | |||||
10 | CDate | datetime | 8 | 3 | 是 | |||||
11 | Remind | nvarchar | 500 | 0 | 是 | |||||
12 | M_Port | int | 4 | 0 | 是 | 监控端口 |
智能监控设备
GO
CREATE TABLE [dbo].[ZL_DeviceM_Info](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Alias] [nvarchar](100) NULL,
[Domain] [nvarchar](100) NULL,
[IP] [nvarchar](100) NULL,
[M_User] [nvarchar](100) NULL,
[M_Pwd] [nvarchar](100) NULL,
[M_Channel] [int] NULL,
[M_Port] [int] NULL,
[AdminID] [int] NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_DeviceM_Info] 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_DeviceM_Info
drop table ZL_DeviceM_Info
TRUNCATE table ZL_DeviceM_Info