Tables [dbo].[StorageRequirement]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)5
Created4:57:08 PM Thursday, September 7, 2006
Last Modified7:29:09 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Cluster Primary Key PK_StorageRequirement: StorageRequirementIDStorageRequirementIDint4
No
1 - 1The primary key.
Indexes IX_StorageRequirementDescription: StorageRequirementDescriptionIndexes IX_Unique_StorageRequirementDescription_VanLineCode: StorageRequirementDescription\VanLineCodeStorageRequirementDescriptionvarchar(64)64
No
The description of the storage requirement.
Indexes IX_Unique_StorageRequirementDescription_VanLineCode: StorageRequirementDescription\VanLineCodeVanLineCodevarchar(16)16
No
The van line code for the storage requirement.
UploadCodevarchar(64)64
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_StorageRequirement: StorageRequirementIDPK_StorageRequirementStorageRequirementID
Yes
80
IX_Unique_StorageRequirementDescription_VanLineCodeStorageRequirementDescription, VanLineCode
Yes
80
IX_StorageRequirementDescriptionStorageRequirementDescription80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[StorageRequirement]
(
[StorageRequirementID] [int] NOT NULL IDENTITY(1, 1),
[StorageRequirementDescription] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[VanLineCode] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UploadCode] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StorageRequirement] ADD CONSTRAINT [PK_StorageRequirement] PRIMARY KEY CLUSTERED  ([StorageRequirementID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StorageRequirement] ADD CONSTRAINT [IX_Unique_StorageRequirementDescription_VanLineCode] UNIQUE NONCLUSTERED  ([StorageRequirementDescription], [VanLineCode]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_StorageRequirementDescription] ON [dbo].[StorageRequirement] ([StorageRequirementDescription]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[StorageRequirement] TO [MssExec]
GRANT INSERT ON  [dbo].[StorageRequirement] TO [MssExec]
GRANT DELETE ON  [dbo].[StorageRequirement] TO [MssExec]
GRANT UPDATE ON  [dbo].[StorageRequirement] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The description of the storage requirement.', 'SCHEMA', N'dbo', 'TABLE', N'StorageRequirement', 'COLUMN', N'StorageRequirementDescription'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'StorageRequirement', 'COLUMN', N'StorageRequirementID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The van line code for the storage requirement.', 'SCHEMA', N'dbo', 'TABLE', N'StorageRequirement', 'COLUMN', N'VanLineCode'
GO
Uses
Used By