435 lines
15 KiB
Transact-SQL
435 lines
15 KiB
Transact-SQL
|
|
CREATE TABLE [dbo].[CLGL_MTODetail](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[DeviceNo] [nvarchar](50) NULL,
|
|
[IsoNo] [nvarchar](50) NULL,
|
|
[IsoClass] [nvarchar](50) NULL,
|
|
[MaterialCode] [nvarchar](50) NULL,
|
|
[TagNo] [nvarchar](50) NULL,
|
|
[MaterialName] [nvarchar](50) NULL,
|
|
[SIZE1] [nvarchar](50) NULL,
|
|
[SIZE2] [nvarchar](50) NULL,
|
|
[SCH1] [nvarchar](50) NULL,
|
|
[SCH2] [nvarchar](50) NULL,
|
|
[PressClass] [nvarchar](50) NULL,
|
|
[EndFace] [nvarchar](50) NULL,
|
|
[BoltLength] [nvarchar](50) NULL,
|
|
[Standard] [nvarchar](50) NULL,
|
|
[Material] [nvarchar](50) NULL,
|
|
[PrefabricationStatus] [nvarchar](50) NULL,
|
|
[DesignNum] [nvarchar](50) NULL,
|
|
[PlanCheckOutNum] [nvarchar](50) NULL,
|
|
[CheckOutNum] [nvarchar](50) NULL,
|
|
[StockNumByDeviceNo] [nvarchar](50) NULL,
|
|
[StockNumWholePlant] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_MTODetail] 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'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Id'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @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'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DeviceNo'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'区域管线号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoNo'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管线等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoClass'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialCode'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'位号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'TagNo'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialName'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PressClass'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'端面' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'EndFace'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'螺栓长度' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'BoltLength'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标准' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Standard'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Material'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'预制状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PrefabricationStatus'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DesignNum'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'预出库量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PlanCheckOutNum'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出库量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'CheckOutNum'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'库存量(按装置号)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumByDeviceNo'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'库存量(全厂)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumWholePlant'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'MTO明细信息表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_ContractList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](500) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](500) NULL,
|
|
[C9] [nvarchar](500) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](500) NULL,
|
|
[C12] [nvarchar](500) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
[C15] [nvarchar](50) NULL,
|
|
[C16] [nvarchar](50) NULL,
|
|
[C17] [nvarchar](50) NULL,
|
|
[C18] [nvarchar](50) NULL,
|
|
[C19] [nvarchar](500) NULL,
|
|
[C20] [nvarchar](50) NULL,
|
|
[C21] [nvarchar](50) NULL,
|
|
[C22] [nvarchar](50) NULL,
|
|
[C23] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_ContractList] 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'合同清单一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_ContractList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_ContractListSum](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](500) NULL,
|
|
[C4] [nvarchar](500) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](50) NULL,
|
|
[C9] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_ContractListSum] 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'合同清单汇总表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_ContractListSum'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_PipelineMaterialCodeList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](50) NULL,
|
|
[C9] [nvarchar](50) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](50) NULL,
|
|
[C12] [nvarchar](50) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
[C15] [nvarchar](50) NULL,
|
|
[C16] [nvarchar](50) NULL,
|
|
[C17] [nvarchar](50) NULL,
|
|
[C18] [nvarchar](50) NULL,
|
|
[C19] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_PipelineMaterialCodeList] 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'管道材料编码统计一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_PipelineMaterialCodeList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_PipelineSupplierList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_PipelineSupplierList] 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'管道供货商概要一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_PipelineSupplierList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_ArrivalDetailList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](500) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](500) NULL,
|
|
[C7] [nvarchar](500) NULL,
|
|
[C8] [nvarchar](500) NULL,
|
|
[C9] [nvarchar](500) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](500) NULL,
|
|
[C12] [nvarchar](50) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
[C15] [nvarchar](50) NULL,
|
|
[C16] [nvarchar](50) NULL,
|
|
[C17] [nvarchar](500) NULL,
|
|
[C18] [nvarchar](500) NULL,
|
|
[C19] [nvarchar](50) NULL,
|
|
[C20] [nvarchar](50) NULL,
|
|
[C21] [nvarchar](50) NULL,
|
|
[C22] [nvarchar](50) NULL,
|
|
[C23] [nvarchar](50) NULL,
|
|
[C24] [nvarchar](50) NULL,
|
|
[C25] [nvarchar](50) NULL,
|
|
[C26] [nvarchar](50) NULL,
|
|
[C27] [nvarchar](50) NULL,
|
|
[C28] [nvarchar](50) NULL,
|
|
[C29] [nvarchar](50) NULL,
|
|
[C30] [nvarchar](50) NULL,
|
|
[C31] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_ArrivalDetailList] 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'现场到货明细一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_ArrivalDetailList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_CheckOutDetailList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](50) NULL,
|
|
[C9] [nvarchar](50) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](50) NULL,
|
|
[C12] [nvarchar](50) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
[C15] [nvarchar](500) NULL,
|
|
[C16] [nvarchar](50) NULL,
|
|
[C17] [nvarchar](50) NULL,
|
|
[C18] [nvarchar](50) NULL,
|
|
[C19] [nvarchar](50) NULL,
|
|
[C20] [nvarchar](50) NULL,
|
|
[C21] [nvarchar](50) NULL,
|
|
[C22] [nvarchar](50) NULL,
|
|
[C23] [nvarchar](50) NULL,
|
|
[C24] [nvarchar](50) NULL,
|
|
[C25] [nvarchar](50) NULL,
|
|
[C26] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_CheckOutDetailList] 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'现场出库明细一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_CheckOutDetailList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_PipelineMaterialList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](50) NULL,
|
|
[C9] [nvarchar](50) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](50) NULL,
|
|
[C12] [nvarchar](50) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
[C15] [nvarchar](50) NULL,
|
|
[C16] [nvarchar](50) NULL,
|
|
[C17] [nvarchar](50) NULL,
|
|
[C18] [nvarchar](50) NULL,
|
|
[C19] [nvarchar](50) NULL,
|
|
[C20] [nvarchar](50) NULL,
|
|
[C21] [nvarchar](50) NULL,
|
|
[C22] [nvarchar](50) NULL,
|
|
[C23] [nvarchar](50) NULL,
|
|
[C24] [nvarchar](50) NULL,
|
|
[C25] [nvarchar](50) NULL,
|
|
[C26] [nvarchar](50) NULL,
|
|
[C27] [nvarchar](50) NULL,
|
|
[C28] [nvarchar](50) NULL,
|
|
[C29] [nvarchar](50) NULL,
|
|
[C30] [nvarchar](50) NULL,
|
|
[C31] [nvarchar](50) NULL,
|
|
[C32] [nvarchar](50) NULL,
|
|
[C33] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_PipelineMaterialList] 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'管道材料状态一栏表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_PipelineMaterialList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_PipelineMaterialSumList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[Type] [char](1) NULL,
|
|
[C1] [nvarchar](50) NULL,
|
|
[C2] [nvarchar](50) NULL,
|
|
[C3] [nvarchar](50) NULL,
|
|
[C4] [nvarchar](50) NULL,
|
|
[C5] [nvarchar](50) NULL,
|
|
[C6] [nvarchar](50) NULL,
|
|
[C7] [nvarchar](50) NULL,
|
|
[C8] [nvarchar](50) NULL,
|
|
[C9] [nvarchar](50) NULL,
|
|
[C10] [nvarchar](50) NULL,
|
|
[C11] [nvarchar](50) NULL,
|
|
[C12] [nvarchar](50) NULL,
|
|
[C13] [nvarchar](50) NULL,
|
|
[C14] [nvarchar](50) NULL,
|
|
CONSTRAINT [PK_CLGL_PipelineMaterialSumList] 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
|
|
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道材料汇总表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_PipelineMaterialSumList'
|
|
GO
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[CLGL_RequestDetailList](
|
|
[Id] [nvarchar](50) NOT NULL,
|
|
[ProjectId] [nvarchar](50) NULL,
|
|
[C1] [nvarchar](200) NULL,
|
|
[C2] [nvarchar](200) NULL,
|
|
[C3] [nvarchar](200) NULL,
|
|
[C4] [nvarchar](200) NULL,
|
|
[C5] [nvarchar](200) NULL,
|
|
[C6] [nvarchar](200) NULL,
|
|
[C7] [nvarchar](200) NULL,
|
|
[C8] [nvarchar](200) NULL,
|
|
[C9] [nvarchar](200) NULL,
|
|
[C10] [nvarchar](200) NULL,
|
|
[C11] [nvarchar](200) NULL,
|
|
[C12] [nvarchar](200) NULL,
|
|
[C13] [nvarchar](200) NULL,
|
|
[C14] [nvarchar](200) NULL,
|
|
[C15] [nvarchar](200) NULL,
|
|
[C16] [nvarchar](200) NULL,
|
|
[C17] [nvarchar](200) NULL,
|
|
[C18] [nvarchar](200) NULL,
|
|
[C19] [nvarchar](200) NULL,
|
|
[C20] [nvarchar](200) NULL,
|
|
[C21] [nvarchar](200) NULL,
|
|
[C22] [nvarchar](200) NULL,
|
|
[C23] [nvarchar](200) NULL,
|
|
[C24] [nvarchar](200) NULL,
|
|
[C25] [nvarchar](200) NULL,
|
|
[C26] [nvarchar](200) NULL,
|
|
[C27] [nvarchar](200) NULL,
|
|
[C28] [nvarchar](200) NULL,
|
|
[C29] [nvarchar](200) NULL,
|
|
[C30] [nvarchar](200) NULL,
|
|
[C31] [nvarchar](200) NULL,
|
|
CONSTRAINT [PK_CLGL_RequestDetailList] 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'现场请购明细一览表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_RequestDetailList'
|
|
GO
|
|
|
|
|