Difference between revisions of "Person.ContactType (table)"
| Line 12: | Line 12: | ||
| + | === Columns === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 40: | Line 41: | ||
|} | |} | ||
| + | === Primary Key === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 49: | Line 51: | ||
|} | |} | ||
| + | === Indexes === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 61: | Line 64: | ||
|} | |} | ||
| + | === Detail Tables === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 77: | Line 81: | ||
|} | |} | ||
| − | + | === References === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 88: | Line 92: | ||
| Type | | Type | ||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
| + | |- | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Person_(schema)|Person]] | ||
|} | |} | ||
| − | + | === Dependencies === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 114: | Line 123: | ||
|} | |} | ||
| − | |||
Revision as of 23:06, 2 February 2010
Contents
wikibot
| Table | Person.ContactType |
| Description | Lookup table containing the types of contacts stored in Contact. |
Columns
| Column | Data Type | Nullable | Default | Description |
| ContactTypeID | int | not null | Primary key for ContactType records. | |
| Name | dbo.Name | not null | Contact type description. | |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key
| Primary Key | Columns |
| PK_ContactType_ContactTypeID | ContactTypeID |
Indexes
| Index | Type | Columns |
| AK_ContactType_Name | Unique | Name |
Detail Tables
| Detail Table | Column | Referencing Column |
| Sales.StoreContact | ContactTypeID | ContactTypeID |
| Purchasing.VendorContact | ContactTypeID | ContactTypeID |
References
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Person |
Dependencies
| Reference Type | Object Type | Referencing Object |
| Select | View | Purchasing.vVendor |
| Select | View | Sales.vStoreWithDemographics |
| Select | SQL table-valued-function | dbo.ufnGetContactInformation |
wikivalues
| Table Values | Person.ContactType |
| ContactTypeID | Name |
| 1 | Accounting Manager |
| 2 | Assistant Sales Agent |
| 3 | Assistant Sales Representative |
| 4 | Coordinator Foreign Markets |
| 5 | Export Administrator |
| 6 | International Marketing Manager |
| 7 | Marketing Assistant |
| 8 | Marketing Manager |
| 9 | Marketing Representative |
| 10 | Order Administrator |
| 11 | Owner |
| 12 | Owner/Marketing Assistant |
| 13 | Product Manager |
| 14 | Purchasing Agent |
| 15 | Purchasing Manager |
| 16 | Regional Account Representative |
| 17 | Sales Agent |
| 18 | Sales Associate |
| 19 | Sales Manager |
| 20 | Sales Representative |
automatically generated
| Table | Person.ContactType |
| Description | Lookup table containing the types of contacts stored in Contact. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| ContactTypeID | int | not null | Primary key for ContactType records. PK_ContactType_ContactTypeID | |
| Name | Name | not null | Contact type description. AK_ContactType_Name | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| Sales.StoreContact | ContactTypeID | ContactTypeID |
| Purchasing.VendorContact | ContactTypeID | ContactTypeID |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Person |
| Reference Type | Object Type | Referencing Object |
| Select | View | Purchasing.vVendor |
| Select | View | Sales.vStoreWithDemographics |
| Select | SQL table-valued-function | dbo.ufnGetContactInformation |