Tables [dbo].[SAConfigServiceDetails]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:58:59 AM Thursday, March 21, 2019
Last Modified1:14:15 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_SAConfigServiceDetails: ConfigServiceDetailIDConfigServiceDetailIDint4
False
1 - 1
Foreign Keys FK_SAConfigServiceDetails_ConfigQuoteDetailID_SAConfigQuoteDetails: [dbo].[SAConfigQuoteDetails].ConfigQuoteDetailIDConfigQuoteDetailIDint4
False
Categoryvarchar(32)32
False
Volumeint4
False
BaseCostmoney8
True
ServiceRatedecimal(10,6)9
True
OverageRatedecimal(10,6)9
True
Foreign Keys FK_SAConfigServiceDetails_ConfigServiceID_ICConfigService: [dbo].[ICConfigService].ConfigServiceIDConfigServiceIDint4
True
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SAConfigServiceDetails: ConfigServiceDetailIDPK_SAConfigServiceDetailsConfigServiceDetailID
True
80
NameColumns
FK_SAConfigServiceDetails_ConfigQuoteDetailID_SAConfigQuoteDetailsConfigQuoteDetailID->[dbo].[SAConfigQuoteDetails].[ConfigQuoteDetailID]
FK_SAConfigServiceDetails_ConfigServiceID_ICConfigServiceConfigServiceID->[dbo].[ICConfigService].[ConfigServiceID]
CREATE TABLE [dbo].[SAConfigServiceDetails]
(
[ConfigServiceDetailID] [int] NOT NULL IDENTITY(1, 1),
[ConfigQuoteDetailID] [int] NOT NULL,
[Category] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Volume] [int] NOT NULL,
[BaseCost] [money] NULL,
[ServiceRate] [decimal] (10, 6) NULL,
[OverageRate] [decimal] (10, 6) NULL,
[ConfigServiceID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SAConfigServiceDetails] ADD CONSTRAINT [PK_SAConfigServiceDetails] PRIMARY KEY CLUSTERED  ([ConfigServiceDetailID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SAConfigServiceDetails] ADD CONSTRAINT [FK_SAConfigServiceDetails_ConfigQuoteDetailID_SAConfigQuoteDetails] FOREIGN KEY ([ConfigQuoteDetailID]) REFERENCES [dbo].[SAConfigQuoteDetails] ([ConfigQuoteDetailID])
GO
ALTER TABLE [dbo].[SAConfigServiceDetails] ADD CONSTRAINT [FK_SAConfigServiceDetails_ConfigServiceID_ICConfigService] FOREIGN KEY ([ConfigServiceID]) REFERENCES [dbo].[ICConfigService] ([ConfigServiceID])
GO