98 lines
5.2 KiB
Transact-SQL
98 lines
5.2 KiB
Transact-SQL
CREATE TABLE [dbo].[t_d_validcardevent](
|
|
[NewID] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[ValidEventID] [bigint] NOT NULL,
|
|
[RecordDateTime] [datetime] NULL,
|
|
[CardNO] [bigint] NULL,
|
|
[ConsumerID] [int] NULL,
|
|
[InOrOut] [int] NULL,
|
|
[ControllerID] [int] NULL,
|
|
[ReaderNO] [int] NULL,
|
|
[RecordFlashLoc] [int] NULL,
|
|
[RecordAll] [varchar](500) NULL,
|
|
[JPGPath] [varchar](500) NULL,
|
|
[IsDown] [int] NULL,
|
|
[EquipmentSN] [varchar](200) NULL,
|
|
[ConsumerNO] [varchar](200) NULL,
|
|
[EmployNO] [varchar](20) NULL,
|
|
[EmployName] [varchar](200) NULL,
|
|
[CardType] [varchar](10) NULL,
|
|
[Card] [varchar](500) NULL,
|
|
[DepartmentID] [varchar](50) NULL,
|
|
[DepartmentName] [varchar](200) NULL,
|
|
[ControllerSN] [varchar](50) NULL,
|
|
[DoorID] [varchar](50) NULL,
|
|
[DoorName] [varchar](200) NULL,
|
|
[ReaderName] [varchar](200) NULL,
|
|
[AreaID] [varchar](50) NULL,
|
|
[AreaName] [varchar](200) NULL,
|
|
[WorkType] [varchar](200) NULL,
|
|
[Positions] [varchar](200) NULL,
|
|
[IDCardNo] [varchar](400) NULL,
|
|
CONSTRAINT [PK_t_d_validcardevent] PRIMARY KEY CLUSTERED
|
|
(
|
|
[NewID] 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
|
|
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ö÷¼üID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'NewID'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÏîÄ¿ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ë¢¿¨¼Ç¼ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'ValidEventID'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹¤ºÅ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'EmployNO'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÐÕÃû' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'EmployName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¿¨ÀàÐÍ£¨0-¿¨ºÅ 1-Éí·ÝÖ¤ºÅ¶þάÂëºÅ 2-ÈËÁ³ 3-·Ã¿Í£©' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'CardType'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¿¨ºÅ(°üÀ¨0-¿¨ºÅ 1-Éí·ÝÖ¤ºÅ¶þάÂëºÅ 2-ÈËÁ³¿¨ºÅ 3-·Ã¿Í)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'Card'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'²¿ÃÅID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'DepartmentID'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'²¿ÃÅÃû³Æ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'DepartmentName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¿ØÖÆÆ÷SN' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'ControllerSN'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÃÅid' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'DoorID'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÃÅÃû³Æ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'DoorName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¶ÁÍ·Ãû³Æ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'ReaderName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÇøÓòID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'AreaID'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÇøÓòÃû³Æ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'AreaName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹¤ÖÖ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'WorkType'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Éí·ÝÖ¤ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent', @level2type=N'COLUMN',@level2name=N'IDCardNo'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¿¼ÇÚË¢¿¨¼Ç¼±í' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_validcardevent'
|
|
GO
|
|
|
|
|