Tables [dbo].[QuoteGroupRateMatrixXYBasis]
Properties
PropertyValue
Row Count (~)0
Created5:00:24 PM Monday, April 21, 2008
Last Modified9:55:51 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_QuoteGroupRateMatrixXYBasis: QuoteGroupRateMatrixXYBasisIDQuoteGroupRateMatrixXYBasisIDint4
No
1 - 1
Foreign Keys FK_QuoteGroupRateMatrixXYBasis_QuoteGroup: [dbo].[QuoteGroup].QuoteGroupFIDIndexes IX_QuoteGroupRateMatrixXYBasis_QuoteGroup: QuoteGroupFIDQuoteGroupFIDint4
No
Foreign Keys FK_QuoteGroupRateMatrixXYBasis_RateMatrix: [dbo].[RateMatrix].RateMatrixFIDRateMatrixFIDint4
No
XRangeValuedecimal(12,3)9
Yes
YRangeValuedecimal(12,3)9
Yes
XBreakPointdecimal(12,3)9
Yes
YBreakPointdecimal(12,3)9
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_QuoteGroupRateMatrixXYBasis: QuoteGroupRateMatrixXYBasisIDPK_QuoteGroupRateMatrixXYBasisQuoteGroupRateMatrixXYBasisID
Yes
80
IX_QuoteGroupRateMatrixXYBasis_QuoteGroupQuoteGroupFID
Yes
80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_QuoteGroupRateMatrixXYBasis_QuoteGroupCascadeQuoteGroupFID->[dbo].[QuoteGroup].[QuoteGroupID]
FK_QuoteGroupRateMatrixXYBasis_RateMatrixRateMatrixFID->[dbo].[RateMatrix].[RateMatrixID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[QuoteGroupRateMatrixXYBasis]
(
[QuoteGroupRateMatrixXYBasisID] [int] NOT NULL IDENTITY(1, 1),
[QuoteGroupFID] [int] NOT NULL,
[RateMatrixFID] [int] NOT NULL,
[XRangeValue] [decimal] (12, 3) NULL,
[YRangeValue] [decimal] (12, 3) NULL,
[XBreakPoint] [decimal] (12, 3) NULL,
[YBreakPoint] [decimal] (12, 3) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteGroupRateMatrixXYBasis] ADD CONSTRAINT [PK_QuoteGroupRateMatrixXYBasis] PRIMARY KEY CLUSTERED  ([QuoteGroupRateMatrixXYBasisID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteGroupRateMatrixXYBasis] ADD CONSTRAINT [IX_QuoteGroupRateMatrixXYBasis_QuoteGroup] UNIQUE NONCLUSTERED  ([QuoteGroupFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteGroupRateMatrixXYBasis] ADD CONSTRAINT [FK_QuoteGroupRateMatrixXYBasis_QuoteGroup] FOREIGN KEY ([QuoteGroupFID]) REFERENCES [dbo].[QuoteGroup] ([QuoteGroupID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[QuoteGroupRateMatrixXYBasis] ADD CONSTRAINT [FK_QuoteGroupRateMatrixXYBasis_RateMatrix] FOREIGN KEY ([RateMatrixFID]) REFERENCES [dbo].[RateMatrix] ([RateMatrixID])
GO
GRANT SELECT ON  [dbo].[QuoteGroupRateMatrixXYBasis] TO [MssExec]
GRANT INSERT ON  [dbo].[QuoteGroupRateMatrixXYBasis] TO [MssExec]
GRANT DELETE ON  [dbo].[QuoteGroupRateMatrixXYBasis] TO [MssExec]
GRANT UPDATE ON  [dbo].[QuoteGroupRateMatrixXYBasis] TO [MssExec]
GO
Uses