表名:ZL_Plat_Sign












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    用户ID
3IPnvarchar2000    签到IP地址
4IPLocationnvarchar3000    签到IP地址
5ZTypeint40    类别,0:签到,1:签退
6Stateint40    状态,0:正常,1:迟到,2:早退
7CDatedatetime83    签到/签退时间
8Remindnvarchar2000    备注

简要说明:

能力考勤表

Go
CREATE TABLE [dbo].[ZL_Plat_Sign](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[IP] [nvarchar](200) NULL,
[IPLocation] [nvarchar](300) NULL,
[ZType] [int] NULL,
[State] [int] NOT NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](200) NULL,
CONSTRAINT [PK_ZL_SignIn] 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_Plat_Sign

--注意:将删除整个表

drop table ZL_Plat_Sign

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Plat_Sign