Tables [dbo].[RateMatrix]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)1
Created5:32:31 PM Wednesday, January 2, 2008
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_RateMatrix: RateMatrixIDRateMatrixIDint4
No
1 - 1
Indexes IX_RateMatrix_Description: DescriptionDescriptionvarchar(32)32
No
Foreign Keys FK_RateMatrix_RateMatrixRangeTypeX: [dbo].[RateMatrixRangeType].RateMatrixRangeTypeXFIDRateMatrixRangeTypeXFIDint4
No
Foreign Keys FK_RateMatrix_RateMatrixRangeTypeY: [dbo].[RateMatrixRangeType].RateMatrixRangeTypeYFIDRateMatrixRangeTypeYFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_RateMatrix: RateMatrixIDPK_RateMatrixRateMatrixID
Yes
80
IX_RateMatrix_DescriptionDescription
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_RateMatrix_RateMatrixRangeTypeXRateMatrixRangeTypeXFID->[dbo].[RateMatrixRangeType].[RateMatrixRangeTypeID]
FK_RateMatrix_RateMatrixRangeTypeYRateMatrixRangeTypeYFID->[dbo].[RateMatrixRangeType].[RateMatrixRangeTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RateMatrix]
(
[RateMatrixID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RateMatrixRangeTypeXFID] [int] NOT NULL,
[RateMatrixRangeTypeYFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RateMatrix] ADD CONSTRAINT [PK_RateMatrix] PRIMARY KEY CLUSTERED  ([RateMatrixID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RateMatrix] ADD CONSTRAINT [IX_RateMatrix_Description] UNIQUE NONCLUSTERED  ([Description]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RateMatrix] ADD CONSTRAINT [FK_RateMatrix_RateMatrixRangeTypeX] FOREIGN KEY ([RateMatrixRangeTypeXFID]) REFERENCES [dbo].[RateMatrixRangeType] ([RateMatrixRangeTypeID])
GO
ALTER TABLE [dbo].[RateMatrix] ADD CONSTRAINT [FK_RateMatrix_RateMatrixRangeTypeY] FOREIGN KEY ([RateMatrixRangeTypeYFID]) REFERENCES [dbo].[RateMatrixRangeType] ([RateMatrixRangeTypeID])
GO
GRANT SELECT ON  [dbo].[RateMatrix] TO [MssExec]
GRANT INSERT ON  [dbo].[RateMatrix] TO [MssExec]
GRANT DELETE ON  [dbo].[RateMatrix] TO [MssExec]
GRANT UPDATE ON  [dbo].[RateMatrix] TO [MssExec]
GO
Uses
Used By