Difference between revisions of "Person.ContactType (table)"
| Line 133: | Line 133: | ||
| Sales Representative | | Sales Representative | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 155: | Line 154: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
|- | |- | ||
| Line 163: | Line 161: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for ContactType records. | + | | Primary key for ContactType records.PK_ContactType_ContactTypeID |
| − | |||
|- | |- | ||
| Name | | Name | ||
| Line 170: | Line 167: | ||
| not null | | not null | ||
| | | | ||
| − | | Contact type description. | + | | Contact type description.AK_ContactType_Name |
| − | |||
|- | |- | ||
| ModifiedDate | | ModifiedDate | ||
| Line 178: | Line 174: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
| Line 197: | Line 192: | ||
| ContactTypeID | | ContactTypeID | ||
| ContactTypeID | | ContactTypeID | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Referenced Object | ||
| + | | '''Object Type | ||
| + | | '''Dependency Type | ||
| + | |||
| + | |- | ||
| + | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | | Type | ||
| + | | Data Type | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Referencing Object | ||
| + | | '''Object Type | ||
| + | | '''Reference Type | ||
| + | |||
| + | |- | ||
| + | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | ||
| + | | View | ||
| + | | Select | ||
| + | |- | ||
| + | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | ||
| + | | View | ||
| + | | Select | ||
| + | |- | ||
| + | | [[dbo.ufnGetContactInformation_(function)|dbo.ufnGetContactInformation]] | ||
| + | | SQL table-valued-function | ||
| + | | Select | ||
|} | |} | ||
Revision as of 23:52, 26 November 2009
wikibot
| Table | Person.ContactType |
| Column | Data Type | Nullable | Default | PK | Index |
| ContactTypeID | int | not null | PK_ContactType_ContactTypeID | ||
| Name | dbo.Name | not null | AK_ContactType_Name | ||
| ModifiedDate | datetime | not null | (getdate()) |
| Detail Table | Column | Referencing Column |
| Sales.StoreContact | ContactTypeID | ContactTypeID |
| Purchasing.VendorContact | ContactTypeID | ContactTypeID |
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 |
| Referenced Object | Object Type | Dependency Type |
| dbo.Name | Type | Data Type |
| Referencing Object | Object Type | Reference Type |
| Purchasing.vVendor | View | Select |
| Sales.vStoreWithDemographics | View | Select |
| dbo.ufnGetContactInformation | SQL table-valued-function | Select |