| Owner: | Person |
| Creation Date: | 04/26/2006 |
| Located On: | PRIMARY |
| Data Size KB: | 8 |
| Index Size KB: | 24 |
| Rows: | 20 |
| Description: | Lookup table containing the types of contacts stored in Contact. |
| Name | Data Type | Length | NULL | Default | IsIdentity | IsGUID | Description | ||
| ContactTypeID | int | 4 | Primary key for ContactType records. | ||||||
| Name | Name | 100 | Contact type description. | ||||||
| ModifiedDate | datetime | 8 | (getdate()) | Date and time the record was last updated. |
| Name | Seed | Increment | Not for replication | |
| ContactTypeID | 1 | 1 |
| Index | Primary | Unique | Description | |
| PK_ContactType_ContactTypeID | Primary key (clustered) constraint | |||
| AK_ContactType_Name | Unique nonclustered index. |
| Table | Foreign Key | Primary Key or Unique Constraint | |
| Sales.StoreContact | FK_StoreContact_ContactType_ContactTypeID | PK_ContactType_ContactTypeID | |
| Purchasing.VendorContact | FK_VendorContact_ContactType_ContactTypeID | PK_ContactType_ContactTypeID |
Objects that [Person].[ContactType] depends on
| Object Name | Owner | Object Type | Dep Level | |
| Name | dbo | User Defined type | 1 |
Objects that depend on [Person].[ContactType]
| Object Name | Owner | Object Type | Dep Level | |
| StoreContact | Sales | Table | 1 | |
| VendorContact | Purchasing | Table | 1 | |
| ufnGetContactInformation | dbo | Function | 2 | |
| vStoreWithDemographics | Sales | View | 2 | |
| vVendor | Purchasing | View | 2 |
CREATE TABLE [ContactType] (
[ContactTypeID] [int] IDENTITY (1, 1) NOT NULL ,
[Name] [Name] NOT NULL ,
[ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_ContactType_ModifiedDate] DEFAULT (getdate()),
CONSTRAINT [PK_ContactType_ContactTypeID] PRIMARY KEY CLUSTERED
(
[ContactTypeID]
) ON [PRIMARY]
) ON [PRIMARY]
GO
See Also
List of tables