Tables [dbo].[StorageSetup]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)1
Created4:57:10 PM Thursday, September 7, 2006
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsDefaultDescription
Primary Key PK_StorageSetup: StorageSetupPriKeyCheck Constraints CK_TableSize_To_1 : ([StorageSetupPriKey]<(2) AND [StorageSetupPriKey]>(0))StorageSetupPriKeyint4
No
(1)Primary key.
UseDeferredbit1
No
(0)0 if the deferred account is not used, 1 if it is used.
ManualDeferredbit1
No
0 if deferred gl account should be built. 1 if ManualDeferredGL is the deferred gl account.
ManualDeferredGLvarchar(66)66
Yes
The manual deferred account.
Accountvarchar(16)16
Yes
The account section of the deferred account.
SubAccountvarchar(16)16
Yes
The sub-account section of the deferred account.
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_StorageSetup: StorageSetupPriKeyPK_StorageSetupStorageSetupPriKey
Yes
80
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_TableSize_To_1StorageSetupPriKey([StorageSetupPriKey]<(2) AND [StorageSetupPriKey]>(0))
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[StorageSetup]
(
[StorageSetupPriKey] [int] NOT NULL CONSTRAINT [DF_StorageSetup_StorageSetupPriKey] DEFAULT (1),
[UseDeferred] [bit] NOT NULL CONSTRAINT [DF_StorageSetup_UseDeferred] DEFAULT (0),
[ManualDeferred] [bit] NOT NULL,
[ManualDeferredGL] [varchar] (66) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Account] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SubAccount] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StorageSetup] ADD CONSTRAINT [CK_TableSize_To_1] CHECK (([StorageSetupPriKey]<(2) AND [StorageSetupPriKey]>(0)))
GO
ALTER TABLE [dbo].[StorageSetup] ADD CONSTRAINT [PK_StorageSetup] PRIMARY KEY NONCLUSTERED  ([StorageSetupPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[StorageSetup] TO [MssExec]
GRANT INSERT ON  [dbo].[StorageSetup] TO [MssExec]
GRANT DELETE ON  [dbo].[StorageSetup] TO [MssExec]
GRANT UPDATE ON  [dbo].[StorageSetup] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The account section of the deferred account.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'Account'
GO
EXEC sp_addextendedproperty N'MS_Description', N'0 if deferred gl account should be built. 1 if ManualDeferredGL is the deferred gl account.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'ManualDeferred'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The manual deferred account.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'ManualDeferredGL'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'StorageSetupPriKey'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The sub-account section of the deferred account.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'SubAccount'
GO
EXEC sp_addextendedproperty N'MS_Description', N'0 if the deferred account is not used, 1 if it is used.', 'SCHEMA', N'dbo', 'TABLE', N'StorageSetup', 'COLUMN', N'UseDeferred'
GO
Uses