Difference between revisions of "Person.ContactType (table)"
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== wikibot == | == wikibot == | ||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- valign="top" | ||
| + | | '''Table | ||
| + | | Person.ContactType | ||
| + | |- valign="top" | ||
| + | | '''Description | ||
| + | | Lookup table containing the types of contacts stored in Contact. | ||
| + | |} | ||
| + | |||
| + | === Columns === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Column | ||
| + | | '''Data Type | ||
| + | | '''Nullable | ||
| + | | '''Default | ||
| + | | '''Description | ||
| + | |||
| + | |- valign="top" | ||
| + | | ContactTypeID | ||
| + | | int | ||
| + | | not null | ||
| + | | | ||
| + | | Primary key for ContactType records. | ||
| + | |- valign="top" | ||
| + | | Name | ||
| + | | dbo.Name | ||
| + | | not null | ||
| + | | | ||
| + | | Contact type description. | ||
| + | |- valign="top" | ||
| + | | ModifiedDate | ||
| + | | datetime | ||
| + | | not null | ||
| + | | (getdate()) | ||
| + | | 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" | ||
| + | |- style="background:silver" | ||
| + | | '''Detail Table | ||
| + | | '''Column | ||
| + | | '''Referencing Column | ||
| + | |||
| + | |- valign="top" | ||
| + | | [[Sales.StoreContact_(table)|Sales.StoreContact]] | ||
| + | | ContactTypeID | ||
| + | | ContactTypeID | ||
| + | |- valign="top" | ||
| + | | [[Purchasing.VendorContact_(table)|Purchasing.VendorContact]] | ||
| + | | ContactTypeID | ||
| + | | ContactTypeID | ||
| + | |} | ||
| + | |||
| + | === References === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Dependency Type | ||
| + | | '''Object Type | ||
| + | | '''Referenced Object | ||
| + | |||
| + | |- valign="top" | ||
| + | | Data Type | ||
| + | | Type | ||
| + | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
| + | |- valign="top" | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Person_(schema)|Person]] | ||
| + | |||
| + | |} | ||
| + | |||
| + | === Dependencies === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Reference Type | ||
| + | | '''Object Type | ||
| + | | '''Referencing Object | ||
| + | |||
| + | |- valign="top" | ||
| + | | Select | ||
| + | | View | ||
| + | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | ||
| + | |||
| + | |- valign="top" | ||
| + | | Select | ||
| + | | View | ||
| + | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | ||
| + | |||
| + | |- valign="top" | ||
| + | | Select | ||
| + | | SQL table-valued-function | ||
| + | | [[dbo.ufnGetContactInformation_(function)|dbo.ufnGetContactInformation]] | ||
| + | |||
| + | |} | ||
| + | |||
| + | |||
| + | == wikivalues == | ||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- valign="top" | ||
| + | | '''Table Values | ||
| + | | Person.ContactType | ||
| + | |} | ||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | |||
| + | | '''ContactTypeID | ||
| + | | '''Name | ||
| + | |- valign="top" | ||
| + | |||
| + | | 1 | ||
| + | | Accounting Manager | ||
| + | |- valign="top" | ||
| + | |||
| + | | 2 | ||
| + | | Assistant Sales Agent | ||
| + | |- valign="top" | ||
| + | |||
| + | | 3 | ||
| + | | Assistant Sales Representative | ||
| + | |- valign="top" | ||
| + | |||
| + | | 4 | ||
| + | | Coordinator Foreign Markets | ||
| + | |- valign="top" | ||
| + | |||
| + | | 5 | ||
| + | | Export Administrator | ||
| + | |- valign="top" | ||
| + | |||
| + | | 6 | ||
| + | | International Marketing Manager | ||
| + | |- valign="top" | ||
| + | |||
| + | | 7 | ||
| + | | Marketing Assistant | ||
| + | |- valign="top" | ||
| + | |||
| + | | 8 | ||
| + | | Marketing Manager | ||
| + | |- valign="top" | ||
| + | |||
| + | | 9 | ||
| + | | Marketing Representative | ||
| + | |- valign="top" | ||
| + | |||
| + | | 10 | ||
| + | | Order Administrator | ||
| + | |- valign="top" | ||
| + | |||
| + | | 11 | ||
| + | | Owner | ||
| + | |- valign="top" | ||
| + | |||
| + | | 12 | ||
| + | | Owner/Marketing Assistant | ||
| + | |- valign="top" | ||
| + | |||
| + | | 13 | ||
| + | | Product Manager | ||
| + | |- valign="top" | ||
| + | |||
| + | | 14 | ||
| + | | Purchasing Agent | ||
| + | |- valign="top" | ||
| + | |||
| + | | 15 | ||
| + | | 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 | ||
| + | |} | ||
| + | |||
| + | == automatically generated == | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| Line 5: | Line 224: | ||
| '''Table | | '''Table | ||
| Person.ContactType | | Person.ContactType | ||
| + | |- valign="top" | ||
| + | | '''Description | ||
| + | | Lookup table containing the types of contacts stored in Contact. | ||
|- | |- | ||
|} | |} | ||
| Line 15: | Line 237: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''PK | + | | '''Description / PK / Index |
| − | |||
| − | |- | + | |- valign="top" |
| ContactTypeID | | ContactTypeID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | PK_ContactType_ContactTypeID | + | | Primary key for ContactType records.<br />PK_ContactType_ContactTypeID |
| − | | | + | |- valign="top" |
| − | | | + | | Name |
| Name | | Name | ||
| − | |||
| not null | | not null | ||
| | | | ||
| − | | | + | | Contact type description.<br />AK_ContactType_Name |
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| − | | ( | + | | (GETDATE()) |
| − | | | + | | Date and time the record was last updated.<br /> |
| − | |||
|} | |} | ||
| Line 58: | Line 276: | ||
| ContactTypeID | | ContactTypeID | ||
|} | |} | ||
| − | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Dependency Type | ||
| + | | '''Object Type | ||
| + | | '''Referenced Object | ||
| + | |||
|- | |- | ||
| − | | | + | | Data Type |
| − | | | + | | Type |
| + | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
|- | |- | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Person_(schema)|Person]] | ||
| + | |||
|} | |} | ||
| − | {| border="1" cellpadding="5" cellspacing="0" | + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |
| − | |- style="background:silver" | + | |- style="background:silver" |
| − | | ''' | + | | '''Reference Type |
| − | | ''' | + | | '''Object Type |
| − | | | + | | '''Referencing Object |
| − | + | ||
| − | + | |- | |
| − | |- | + | | Select |
| − | | | + | | View |
| − | | | + | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] |
| − | | | + | |
| − | | | + | |- |
| − | + | | Select | |
| − | |- | + | | View |
| − | | | + | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] |
| − | | | + | |
| − | | | + | |- |
| − | | | + | | Select |
| − | + | | SQL table-valued-function | |
| − | |- | + | | [[dbo.ufnGetContactInformation_(function)|dbo.ufnGetContactInformation]] |
| − | | | + | |
| − | |||
| − | |- | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
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 |