Tables [dbo].[DocumentGroup]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)4
Created7:06:59 PM Thursday, December 17, 2009
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Cluster Primary Key PK_DocumentGroup: DocumentGroupIDDocumentGroupIDint4
No
1 - 1The primary key.
Indexes IX_DocumentGroup_Description: DescriptionDescriptionvarchar(64)64
No
The description of the document group.
SortByint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_DocumentGroup: DocumentGroupIDPK_DocumentGroupDocumentGroupID
Yes
80
IX_DocumentGroup_DescriptionDescription
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentGroup]
(
[DocumentGroupID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SortBy] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentGroup] ADD CONSTRAINT [PK_DocumentGroup] PRIMARY KEY CLUSTERED  ([DocumentGroupID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentGroup] ADD CONSTRAINT [IX_DocumentGroup_Description] UNIQUE NONCLUSTERED  ([Description]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[DocumentGroup] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentGroup] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentGroup] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentGroup] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The description of the document group.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentGroup', 'COLUMN', N'Description'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentGroup', 'COLUMN', N'DocumentGroupID'
GO
Uses
Used By