xinjiang/DataBase/版本日志/已更新/TCC月报/Manager_HeadMonthReportB.sql

52 lines
2.5 KiB
Transact-SQL

/****** Object: Table [dbo].[Manager_HeadMonthReportB] Script Date: 2021/8/10 20:01:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Manager_HeadMonthReportB](
[HeadMonthReportId] [nvarchar](50) NOT NULL,
[MonthReportCode] [nvarchar](50) NULL,
[Months] [datetime] NULL,
[ReportUnitName] [nvarchar](50) NULL,
[ReportDate] [datetime] NULL,
[ReportMan] [nvarchar](20) NULL,
[CheckMan] [nvarchar](20) NULL,
[AllSumHseManhours] [int] NULL,
[AllSumTotalHseManhours] [int] NULL,
CONSTRAINT [PK_Manager_HeadMonthReport] PRIMARY KEY CLUSTERED
(
[HeadMonthReportId] 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'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'HeadMonthReportId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'MonthReportCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'月份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'Months'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'填报单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'ReportUnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'填报日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'ReportDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'填报人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'ReportMan'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB', @level2type=N'COLUMN',@level2name=N'CheckMan'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'总部月报告统计表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Manager_HeadMonthReportB'
GO