70 lines
2.1 KiB
Transact-SQL
70 lines
2.1 KiB
Transact-SQL
|
|
/****** Object: Table [dbo].[TC_CostStatisticDetail] Script Date: 2021/8/11 7:24:37 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
CREATE TABLE [dbo].[TC_CostStatisticDetail](
|
|
[CostStatisticDetailId] [nvarchar](50) NOT NULL,
|
|
[CostStatisticCode] [nvarchar](50) NULL,
|
|
[UnitId] [nvarchar](50) NULL,
|
|
[A1] [money] NULL,
|
|
[YA1] [money] NULL,
|
|
[PA1] [money] NULL,
|
|
[A2] [money] NULL,
|
|
[YA2] [money] NULL,
|
|
[PA2] [money] NULL,
|
|
[A3] [money] NULL,
|
|
[YA3] [money] NULL,
|
|
[PA3] [money] NULL,
|
|
[A4] [money] NULL,
|
|
[YA4] [money] NULL,
|
|
[PA4] [money] NULL,
|
|
[A5] [money] NULL,
|
|
[YA5] [money] NULL,
|
|
[PA5] [money] NULL,
|
|
[A6] [money] NULL,
|
|
[YA6] [money] NULL,
|
|
[PA6] [money] NULL,
|
|
[A] [money] NULL,
|
|
[YA] [money] NULL,
|
|
[PA] [money] NULL,
|
|
[B1] [money] NULL,
|
|
[YB1] [money] NULL,
|
|
[PB1] [money] NULL,
|
|
[B2] [money] NULL,
|
|
[YB2] [money] NULL,
|
|
[PB2] [money] NULL,
|
|
[B3] [money] NULL,
|
|
[YB3] [money] NULL,
|
|
[PB3] [money] NULL,
|
|
[B] [money] NULL,
|
|
[YB] [money] NULL,
|
|
[PB] [money] NULL,
|
|
[AB] [money] NULL,
|
|
[YAB] [money] NULL,
|
|
[PAB] [money] NULL,
|
|
CONSTRAINT [PK_TC_CostStatisticDetail] PRIMARY KEY CLUSTERED
|
|
(
|
|
[CostStatisticDetailId] 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'TC_CostStatisticDetail', @level2type=N'COLUMN',@level2name=N'CostStatisticDetailId'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Íâ¼ü' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TC_CostStatisticDetail', @level2type=N'COLUMN',@level2name=N'CostStatisticCode'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'µ¥Î»Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TC_CostStatisticDetail', @level2type=N'COLUMN',@level2name=N'UnitId'
|
|
GO
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·ÑÓûã×ÜÃ÷ϸ±í' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TC_CostStatisticDetail'
|
|
GO
|
|
|
|
|