序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Phone | nvarchar | 100 | 0 | 是 | 接收验证码的手机 | ||||
3 | IP | nvarchar | 500 | 0 | 是 | 请求验证码的IP | ||||
4 | CDate | datetime | 8 | 3 | 是 | 请求时间 | ||||
5 | Source | nvarchar | 100 | 0 | 是 | 来源 | ||||
6 | VCode | nvarchar | 50 | 0 | 是 | 验证码 | ||||
7 | ZStatus | int | 4 | 0 | 是 | 状态 | ||||
8 | UserID | int | 4 | 0 | 是 | |||||
9 | UserName | nvarchar | 50 | 0 | 是 | 用户名称 | ||||
10 | nvarchar | 100 | 0 | 是 | 用户邮箱 | |||||
11 | SysRemind | nvarchar | 2000 | 0 | 是 | 系统备注 |
手机验证表
GO
CREATE TABLE [dbo].[ZL_Safe_Mobile](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Phone] [nvarchar](100) NULL,
[IP] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[Source] [nvarchar](100) NULL,
[VCode] [nvarchar](50) NULL,
[ZStatus] [int] NULL,
[Email] [nvarchar](100) NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](50) NULL,
[SysRemind] [nvarchar](2000) NULL,
CONSTRAINT [PK_ZL_Safe_Mobile] 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_Safe_Mobile
drop table ZL_Safe_Mobile
TRUNCATE table ZL_Safe_Mobile