Tables [dbo].[CustomerStatementDocumentType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)7
Created10:12:52 PM Thursday, December 28, 2006
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_CustomerStatementDocumentType: CustomerStatementDocumentTypeIDCustomerStatementDocumentTypeIDint4
No
1 - 1
Cluster Key IX_CustomerStatementDocumentType_DocumentTypeID: DocumentTypeID\DocumentTypeDocumentTypeIDsmallint2
No
Cluster Key IX_CustomerStatementDocumentType_DocumentTypeID: DocumentTypeID\DocumentTypeDocumentTypevarchar(8)8
No
SortOrderint4
No
((0))
Descriptionvarchar(64)64
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_CustomerStatementDocumentType: CustomerStatementDocumentTypeIDPK_CustomerStatementDocumentTypeCustomerStatementDocumentTypeID
Yes
80
Cluster Key IX_CustomerStatementDocumentType_DocumentTypeID: DocumentTypeID\DocumentTypeIX_CustomerStatementDocumentType_DocumentTypeIDDocumentTypeID, DocumentType
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CustomerStatementDocumentType]
(
[CustomerStatementDocumentTypeID] [int] NOT NULL IDENTITY(1, 1),
[DocumentTypeID] [smallint] NOT NULL,
[DocumentType] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SortOrder] [int] NOT NULL CONSTRAINT [DF_CustomerStatementDocumentType_SortOrder] DEFAULT ((0)),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementDocumentType] ADD CONSTRAINT [PK_CustomerStatementDocumentType] PRIMARY KEY NONCLUSTERED  ([CustomerStatementDocumentTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementDocumentType] ADD CONSTRAINT [IX_CustomerStatementDocumentType_DocumentTypeID] UNIQUE CLUSTERED  ([DocumentTypeID], [DocumentType]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[CustomerStatementDocumentType] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerStatementDocumentType] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerStatementDocumentType] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerStatementDocumentType] TO [MssExec]
GO
Uses
Used By