Tables [dbo].[StorageCalculationType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)2
Created4:57:09 PM Thursday, September 7, 2006
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Primary Key PK_StorageCalculationType: StorageCalculationTypePriKeyStorageCalculationTypePriKeyint4
No
1 - 1Primary key.
Indexes IX_StorageCalculationType_Description: DescriptionDescriptionvarchar(30)30
No
Description of the calculation type.
Typevarchar(2)2
No
Type for the description.
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_StorageCalculationType: StorageCalculationTypePriKeyPK_StorageCalculationTypeStorageCalculationTypePriKey
Yes
80
IX_StorageCalculationType_DescriptionDescription
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[StorageCalculationType]
(
[StorageCalculationTypePriKey] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Type] [varchar] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StorageCalculationType] ADD CONSTRAINT [PK_StorageCalculationType] PRIMARY KEY NONCLUSTERED  ([StorageCalculationTypePriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StorageCalculationType] ADD CONSTRAINT [IX_StorageCalculationType_Description] UNIQUE NONCLUSTERED  ([Description]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[StorageCalculationType] TO [MssExec]
GRANT INSERT ON  [dbo].[StorageCalculationType] TO [MssExec]
GRANT DELETE ON  [dbo].[StorageCalculationType] TO [MssExec]
GRANT UPDATE ON  [dbo].[StorageCalculationType] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Description of the calculation type.', 'SCHEMA', N'dbo', 'TABLE', N'StorageCalculationType', 'COLUMN', N'Description'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key.', 'SCHEMA', N'dbo', 'TABLE', N'StorageCalculationType', 'COLUMN', N'StorageCalculationTypePriKey'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Type for the description.', 'SCHEMA', N'dbo', 'TABLE', N'StorageCalculationType', 'COLUMN', N'Type'
GO
Uses
Used By