序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | WorkDate | nvarchar | 50 | 0 | 是 | 工作日 | ||||
3 | WorkBegin | nvarchar | 50 | 0 | 是 | 上班时间 | ||||
4 | WorkEnd | nvarchar | 50 | 0 | 是 | 下班时间 | ||||
5 | Status | int | 4 | 0 | 是 | 0 执行中 1 未执行 | ||||
6 | BeginDate | datetime | 8 | 3 | 是 | 开始执行时间 |
OA工作时间安排表
GO
CREATE TABLE [dbo].[ZL_MisSign](
[ID] [int] IDENTITY(1,1) NOT NULL,
[WorkDate] [nvarchar](50) NULL,
[WorkBegin] [nvarchar](50) NULL,
[WorkEnd] [nvarchar](50) NULL,
[Status] [int] NULL,
[BeginDate] [datetime] NULL,
CONSTRAINT [PK_ZL_MisSign] 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
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 执行中 1 未执行' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisSign', @level2type=N'COLUMN',@level2name=N'Status'
GO
SET IDENTITY_INSERT [ZL_MisSign] ON
INSERT [ZL_MisSign] ([ID],[WorkDate],[WorkBegin],[WorkEnd],[Status],[BeginDate]) VALUES (1,N'2013-3-30 19:54:21',N'2013-3-30 20:12:21',N'123',1,1)
SET IDENTITY_INSERT [ZL_MisSign] OFF
detele from ZL_MisSign
drop table ZL_MisSign
TRUNCATE table ZL_MisSign