Person.ContactType Table

Information

NameContactType
SchemaPerson
Row Count0
Data Size 
Index Size 
Reserved Size 
Unused Size 
Created29.3.2010. 21:58:18
Modified29.3.2010. 21:58:56

Extended Properties

NameTypeProperty NameValue
ContactTypeTABLEMS_DescriptionLookup table containing the types of contacts stored in Contact.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   ContactTypeIDint   
 
 
 
   Namenvarchar(50) SQL_Latin1_General_CP1_CI_AS 
 
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_ContactType_ContactTypeIDClustered  ContactTypeID
AK_ContactType_NameNonClustered  Name

SQL Script

CREATE TABLE [Person].[ContactType] (
    [ContactTypeID] int NOT NULL IDENTITY,
    [Name] nvarchar(50) NOT NULL,
    [ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_ContactType_Name] on [Person].[ContactType]([Name]);