Difference between revisions of "Person.ContactType (table)"
| (6 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| − | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| Person.ContactType | | Person.ContactType | ||
| Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Lookup table containing the types of contacts stored in Contact. | | Lookup table containing the types of contacts stored in Contact. | ||
| − | |||
|} | |} | ||
| − | + | === 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 18: | Line 17: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description |
| − | + | ||
|- valign="top" | |- valign="top" | ||
| ContactTypeID | | ContactTypeID | ||
| Line 25: | Line 24: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for ContactType records. | + | | Primary key for ContactType records. |
|- valign="top" | |- valign="top" | ||
| Name | | Name | ||
| Line 31: | Line 30: | ||
| not null | | not null | ||
| | | | ||
| − | | Contact type description. | + | | Contact type description. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 37: | Line 36: | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
| + | |} | ||
| + | |||
| + | === Primary Key === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Primary Key | ||
| + | | '''Columns | ||
| + | |- valign="top" | ||
| + | | PK_ContactType_ContactTypeID | ||
| + | | ContactTypeID | ||
|} | |} | ||
| + | === Indexes === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |- valign="top" | ||
| + | | AK_ContactType_Name | ||
| + | | Unique | ||
| + | | Name | ||
| + | |} | ||
| + | === 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 47: | Line 68: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
| − | + | ||
| − | |- | + | |- valign="top" |
| [[Sales.StoreContact_(table)|Sales.StoreContact]] | | [[Sales.StoreContact_(table)|Sales.StoreContact]] | ||
| ContactTypeID | | ContactTypeID | ||
| ContactTypeID | | ContactTypeID | ||
| − | |- | + | |- valign="top" |
| [[Purchasing.VendorContact_(table)|Purchasing.VendorContact]] | | [[Purchasing.VendorContact_(table)|Purchasing.VendorContact]] | ||
| ContactTypeID | | ContactTypeID | ||
| Line 58: | Line 79: | ||
|} | |} | ||
| − | + | === 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 65: | Line 86: | ||
| '''Referenced Object | | '''Referenced Object | ||
| − | |- | + | |- valign="top" |
| Data Type | | Data Type | ||
| Type | | Type | ||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
| + | |- valign="top" | ||
| + | | 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 79: | Line 105: | ||
| '''Referencing Object | | '''Referencing Object | ||
| − | |- | + | |- valign="top" |
| Select | | Select | ||
| View | | View | ||
| [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | ||
| − | |- | + | |- valign="top" |
| Select | | Select | ||
| View | | View | ||
| [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | ||
| − | |- | + | |- valign="top" |
| Select | | Select | ||
| SQL table-valued-function | | SQL table-valued-function | ||
| Line 95: | Line 121: | ||
|} | |} | ||
| + | |||
| + | |||
== wikivalues == | == wikivalues == | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| − | |- | + | |- valign="top" |
| '''Table Values | | '''Table Values | ||
| Person.ContactType | | Person.ContactType | ||
| − | |||
|} | |} | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| − | |||
| − | |||
| '''ContactTypeID | | '''ContactTypeID | ||
| '''Name | | '''Name | ||
| − | |- | + | |- valign="top" |
| − | | 1 | + | |
| − | | Accounting Manager | + | | 1 |
| − | |- | + | | Accounting Manager |
| − | | 2 | + | |- valign="top" |
| − | | Assistant Sales Agent | + | |
| − | |- | + | | 2 |
| − | | 3 | + | | Assistant Sales Agent |
| − | | Assistant Sales Representative | + | |- valign="top" |
| − | |- | + | |
| − | | 4 | + | | 3 |
| − | | Coordinator Foreign Markets | + | | Assistant Sales Representative |
| − | |- | + | |- valign="top" |
| − | | 5 | + | |
| − | | Export Administrator | + | | 4 |
| − | |- | + | | Coordinator Foreign Markets |
| − | | 6 | + | |- valign="top" |
| − | | International Marketing Manager | + | |
| − | |- | + | | 5 |
| − | | 7 | + | | Export Administrator |
| − | | Marketing Assistant | + | |- valign="top" |
| − | |- | + | |
| − | | 8 | + | | 6 |
| − | | Marketing Manager | + | | International Marketing Manager |
| − | |- | + | |- valign="top" |
| − | | 9 | + | |
| − | | Marketing Representative | + | | 7 |
| − | |- | + | | Marketing Assistant |
| − | | 10 | + | |- valign="top" |
| − | | Order Administrator | + | |
| − | |- | + | | 8 |
| − | | 11 | + | | Marketing Manager |
| − | | Owner | + | |- valign="top" |
| − | |- | + | |
| − | | 12 | + | | 9 |
| − | | Owner/Marketing Assistant | + | | Marketing Representative |
| − | |- | + | |- valign="top" |
| − | | 13 | + | |
| − | | Product Manager | + | | 10 |
| − | |- | + | | Order Administrator |
| − | | 14 | + | |- valign="top" |
| − | | Purchasing Agent | + | |
| − | |- | + | | 11 |
| − | | 15 | + | | Owner |
| − | | Purchasing Manager | + | |- valign="top" |
| − | |- | + | |
| − | | 16 | + | | 12 |
| − | | Regional Account Representative | + | | Owner/Marketing Assistant |
| − | |- | + | |- valign="top" |
| − | | 17 | + | |
| − | | Sales Agent | + | | 13 |
| − | |- | + | | Product Manager |
| − | | 18 | + | |- valign="top" |
| − | | Sales Associate | + | |
| − | |- | + | | 14 |
| − | | 19 | + | | Purchasing Agent |
| − | | Sales Manager | + | |- valign="top" |
| − | |- | + | |
| − | | 20 | + | | 15 |
| − | | Sales Representative | + | | Purchasing Manager |
| + | |- valign="top" | ||
| + | |||
| + | | 16 | ||
| + | | Regional Account Representative | ||
| + | |- valign="top" | ||
| + | |||
| + | | 17 | ||
| + | | Sales Agent | ||
| + | |- valign="top" | ||
| + | |||
| + | | 18 | ||
| + | | Sales Associate | ||
| + | |- valign="top" | ||
| + | |||
| + | | 19 | ||
| + | | Sales Manager | ||
| + | |- valign="top" | ||
| + | |||
| + | | 20 | ||
| + | | Sales Representative | ||
|} | |} | ||
Latest revision as of 09:55, 27 August 2011
Contents
wikibot[edit]
| Table | Person.ContactType |
| Description | Lookup table containing the types of contacts stored in Contact. |
Columns[edit]
| 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[edit]
| Primary Key | Columns |
| PK_ContactType_ContactTypeID | ContactTypeID |
Indexes[edit]
| Index | Type | Columns |
| AK_ContactType_Name | Unique | Name |
Detail Tables[edit]
| Detail Table | Column | Referencing Column |
| Sales.StoreContact | ContactTypeID | ContactTypeID |
| Purchasing.VendorContact | ContactTypeID | ContactTypeID |
References[edit]
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Person |
Dependencies[edit]
| Reference Type | Object Type | Referencing Object |
| Select | View | Purchasing.vVendor |
| Select | View | Sales.vStoreWithDemographics |
| Select | SQL table-valued-function | dbo.ufnGetContactInformation |
wikivalues[edit]
| 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[edit]
| 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 |