Tables [dbo].[RateMatrixXYBasis]
Properties
PropertyValue
Row Count (~)0
Created5:32:31 PM Wednesday, January 2, 2008
Last Modified9:55:51 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_RateMatrixXYBasis: RateMatrixXYBasisIDRateMatrixXYBasisIDint4
No
1 - 1
Foreign Keys FK_RateMatrixXYBasis_BillingMinorItem: [dbo].[BillingMinorItem].BillingMinorItemFIDIndexes IX_RateMatrixXYBasis_BillingMinorItem: BillingMinorItemFIDBillingMinorItemFIDint4
No
Foreign Keys FK_RateMatrixXYBasis_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_RateMatrixXYBasis: RateMatrixXYBasisIDPK_RateMatrixXYBasisRateMatrixXYBasisID
Yes
80
IX_RateMatrixXYBasis_BillingMinorItemBillingMinorItemFID
Yes
80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_RateMatrixXYBasis_BillingMinorItemCascadeBillingMinorItemFID->[dbo].[BillingMinorItem].[BMinPriKey]
FK_RateMatrixXYBasis_RateMatrixRateMatrixFID->[dbo].[RateMatrix].[RateMatrixID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RateMatrixXYBasis]
(
[RateMatrixXYBasisID] [int] NOT NULL IDENTITY(1, 1),
[BillingMinorItemFID] [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].[RateMatrixXYBasis] ADD CONSTRAINT [PK_RateMatrixXYBasis] PRIMARY KEY CLUSTERED  ([RateMatrixXYBasisID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RateMatrixXYBasis] ADD CONSTRAINT [IX_RateMatrixXYBasis_BillingMinorItem] UNIQUE NONCLUSTERED  ([BillingMinorItemFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RateMatrixXYBasis] ADD CONSTRAINT [FK_RateMatrixXYBasis_BillingMinorItem] FOREIGN KEY ([BillingMinorItemFID]) REFERENCES [dbo].[BillingMinorItem] ([BMinPriKey]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[RateMatrixXYBasis] ADD CONSTRAINT [FK_RateMatrixXYBasis_RateMatrix] FOREIGN KEY ([RateMatrixFID]) REFERENCES [dbo].[RateMatrix] ([RateMatrixID])
GO
GRANT SELECT ON  [dbo].[RateMatrixXYBasis] TO [MssExec]
GRANT INSERT ON  [dbo].[RateMatrixXYBasis] TO [MssExec]
GRANT DELETE ON  [dbo].[RateMatrixXYBasis] TO [MssExec]
GRANT UPDATE ON  [dbo].[RateMatrixXYBasis] TO [MssExec]
GO
Uses