CNCEC_SUBQHSE_WUHUAN/DataBase/版本日志/已更新脚本/SGGLDB_V2022-06-06-001.sql

391 lines
22 KiB
Transact-SQL

CREATE TABLE [dbo].[HJGL_FL_NdtList](
[NdtListId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceNumber] [nvarchar](50) NULL,
[ZoneCode] [nvarchar](50) NULL,
[UnitName] [nvarchar](100) NULL,
[TheoreticalWeldedJointsTotal] [nvarchar](50) NULL,
[TestWeldAmount] [nvarchar](50) NULL,
[OnceQualifiedQuantity] [nvarchar](50) NULL,
[OneTimeFilmAmount] [nvarchar](50) NULL,
[OneTimeFilmQualifiedAmount] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_NdtList] PRIMARY KEY CLUSTERED
(
[NdtListId] 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
ALTER TABLE [dbo].[HJGL_FL_NdtList] WITH CHECK ADD CONSTRAINT [FK_HJGL_FL_NdtList_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[HJGL_FL_NdtList] CHECK CONSTRAINT [FK_HJGL_FL_NdtList_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'DeviceNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'데禱뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'ZoneCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'UnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'잿쬠쇱꿎보왯悧좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'TheoreticalWeldedJointsTotal'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'쇱꿎보왯鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'TestWeldAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴북목鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'OnceQualifiedQuantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴탠튬悧좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'OneTimeFilmAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴탠튬북목좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList', @level2type=N'COLUMN',@level2name=N'OneTimeFilmQualifiedAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'轟愆쇱꿎좆깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_NdtList'
GO
CREATE TABLE [dbo].[HJGL_FL_OneOKRate](
[OneOKRateId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceCode] [nvarchar](50) NULL,
[ZoneCode] [nvarchar](50) NULL,
[UnitName] [nvarchar](100) NULL,
[TestWeldAmount] [nvarchar](50) NULL,
[OnceQualifiedQuantity] [nvarchar](50) NULL,
[OneOKRate] [nvarchar](50) NULL,
[OneTimeFilmAmount] [nvarchar](50) NULL,
[OneTimeFilmQualifiedAmount] [nvarchar](50) NULL,
[OneOKFilmRate] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_OneOKRate] PRIMARY KEY CLUSTERED
(
[OneOKRateId] 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
ALTER TABLE [dbo].[HJGL_FL_OneOKRate] WITH CHECK ADD CONSTRAINT [FK_HJGL_FL_OneOKRate_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[HJGL_FL_OneOKRate] CHECK CONSTRAINT [FK_HJGL_FL_OneOKRate_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'DeviceCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'데禱뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'ZoneCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'UnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'쇱꿎보왯鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'TestWeldAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴북목鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'OnceQualifiedQuantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴탠튬鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'OneTimeFilmAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寧늴탠튬북목좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate', @level2type=N'COLUMN',@level2name=N'OneTimeFilmQualifiedAmount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'轟愆쇱꿎寧늴북목쪽깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_OneOKRate'
GO
CREATE TABLE [dbo].[HJGL_FL_PressurePackageList](
[PressurePackageListId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceNumber] [nvarchar](50) NULL,
[UnitName] [nvarchar](100) NULL,
[PressurePackageTotalNum] [nvarchar](50) NULL,
[CompletePressurePackageNum] [nvarchar](50) NULL,
[WaterPressurePackageTotalNum] [nvarchar](50) NULL,
[CompleteWaterPressurePackageCompleteNum] [nvarchar](50) NULL,
[ObservePackageTotalNum] [nvarchar](50) NULL,
[CompleteObservePackageNum] [nvarchar](50) NULL,
[RunPackageTotalNum] [nvarchar](50) NULL,
[CompleteRunPackageNum] [nvarchar](50) NULL,
[AlternativePackageTotalNum] [nvarchar](50) NULL,
[CompleteAlternativePackageNum] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_PressurePackageList] PRIMARY KEY CLUSTERED
(
[PressurePackageListId] 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
ALTER TABLE [dbo].[HJGL_FL_PressurePackageList] WITH CHECK ADD CONSTRAINT [FK_HJGL_FL_PressurePackageList_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[HJGL_FL_PressurePackageList] CHECK CONSTRAINT [FK_HJGL_FL_PressurePackageList_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'DeviceNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'UnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿箕관悧鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'PressurePackageTotalNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'綠供냥桿箕관鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'CompletePressurePackageNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'彊箕관悧鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'WaterPressurePackageTotalNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'彊箕관供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'CompleteWaterPressurePackageCompleteNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'밖뀁관悧鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'ObservePackageTotalNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'供냥밖뀁관鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'CompleteObservePackageNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'頓契관悧鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'RunPackageTotalNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'頓契관供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'CompleteRunPackageNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'競덜관悧좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'AlternativePackageTotalNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'競덜관供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList', @level2type=N'COLUMN',@level2name=N'CompleteAlternativePackageNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿箕관좆깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_PressurePackageList'
GO
CREATE TABLE [dbo].[HJGL_FL_Quantity](
[QuantityId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceNumber] [nvarchar](50) NULL,
[UnitName] [nvarchar](100) NULL,
[ZoneNumber] [nvarchar](50) NULL,
[InchesDiameterTotal] [nvarchar](50) NULL,
[InchesDiameterFinish] [nvarchar](50) NULL,
[YesterdayFinish] [nvarchar](50) NULL,
[WeekInchesDiameterPlan] [nvarchar](50) NULL,
[WeekInchesDiameterFinish] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_Quantity] PRIMARY KEY CLUSTERED
(
[QuantityId] 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
ALTER TABLE [dbo].[HJGL_FL_Quantity] WITH CHECK ADD CONSTRAINT [FK_HJGL_FL_Quantity_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[HJGL_FL_Quantity] CHECK CONSTRAINT [FK_HJGL_FL_Quantity_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'ProjectId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'DeviceNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'UnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'데禱뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'ZoneNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'보쌈供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'InchesDiameterTotal'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'綠供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'InchesDiameterFinish'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'燐휑供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'YesterdayFinish'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'鷺셕뺍좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'WeekInchesDiameterPlan'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'鷺供냥좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity', @level2type=N'COLUMN',@level2name=N'WeekInchesDiameterFinish'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'보쌈묏넋좆깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_Quantity'
GO
CREATE TABLE [dbo].[HJGL_FL_TailItemList](
[TailItemListId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceNumber] [nvarchar](50) NULL,
[UnitName] [nvarchar](100) NULL,
[RemainingWeldsNumber] [nvarchar](50) NULL,
[HeatTreatmentsNumber] [nvarchar](50) NULL,
[HardnessTestsNumber] [nvarchar](50) NULL,
[UnfinishedButtNumber] [nvarchar](50) NULL,
[UnfinishedCornerJointNumber] [nvarchar](50) NULL,
[UnfinishedBranchPipeNumber] [nvarchar](50) NULL,
[ClassAQuantity] [nvarchar](50) NULL,
[ClassBQuantity] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_TailItemList] PRIMARY KEY CLUSTERED
(
[TailItemListId] 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'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'TailItemListId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'ProjectId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'DeviceNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'UnitName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'假岱보쌈보왯鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'RemainingWeldsNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'훑뇹잿鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'HeatTreatmentsNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'袒똑쇱꿎鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'HardnessTestsNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'轟愆쇱꿎뚤쌈灌供鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'UnfinishedButtNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'轟愆쇱꿎실쌈灌供鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'UnfinishedCornerJointNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'轟愆쇱꿎連밗灌供鑒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'UnfinishedBranchPipeNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'君끝쇱꿴A잚鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'ClassAQuantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'君끝쇱꿴B잚鑒좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList', @level2type=N'COLUMN',@level2name=N'ClassBQuantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커棺淃헌데좆깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TailItemList'
GO
CREATE TABLE [dbo].[HJGL_FL_TotalQuantity](
[TotalQuantityId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[DeviceName] [nvarchar](50) NULL,
[DeviceCode] [nvarchar](50) NULL,
[Unit] [nvarchar](100) NULL,
[TotalWeldQuantity] [nvarchar](50) NULL,
[TotalCompleted] [nvarchar](50) NULL,
CONSTRAINT [PK_HJGL_FL_TotalQuantity] PRIMARY KEY CLUSTERED
(
[TotalQuantityId] 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
ALTER TABLE [dbo].[HJGL_FL_TotalQuantity] WITH CHECK ADD CONSTRAINT [FK_HJGL_FL_TotalQuantity_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[HJGL_FL_TotalQuantity] CHECK CONSTRAINT [FK_HJGL_FL_TotalQuantity_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寮숩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'TotalQuantityId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'ProjectId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'陋零츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'DeviceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'데禱뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'DeviceCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'嘉묏데貫' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'Unit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'보쌈悧좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'TotalWeldQuantity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'綠供냥悧좆' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity', @level2type=N'COLUMN',@level2name=N'TotalCompleted'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커밗돛보쌈묏넋좆깊' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'HJGL_FL_TotalQuantity'
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('02296D33-17A9-43FE-B764-AA5A6AF0E85E','밗돛보쌈묏넋좆','HJGL/FL/TotalQuantity.aspx',10,'0','Menu_HJGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('BC27FBEC-DA1D-4909-880E-499A294CCB1B','보쌈묏넋좆깊','HJGL/FL/Quantity.aspx',20,'0','Menu_HJGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('B94CCB2F-58FB-428F-A3CB-68EA712289E1','轟愆쇱꿎寧늴북목쪽','HJGL/FL/OneOKRate.aspx',30,'0','Menu_HJGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('B1A3F19F-2512-4F71-A2E3-3F1C436CC624','桿箕관좆깊','HJGL/FL/PressurePackageList.aspx',40,'0','Menu_HJGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('5F999DDA-9C8A-452F-A313-3270BA76C5F8','轟愆쇱꿎좆깊','HJGL/FL/NdtList.aspx',50,'0','Menu_HJGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('FD7A2F80-329A-4306-9887-712F3CCEA392','棺淃헌데좆깊','HJGL/FL/TailItemList.aspx',60,'0','Menu_HJGL',0,1,1)
GO