Editing Person.ContactType (table)

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
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
|- valign="top"
+
|-
| '''Description
 
| 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 17: Line 15:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''Description
+
| '''PK
 
+
| '''Index
|- valign="top"
+
 +
|-
 
| ContactTypeID
 
| ContactTypeID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| Primary key for ContactType records.
+
| PK_ContactType_ContactTypeID
|- valign="top"
+
|
 +
|-
 
| Name
 
| Name
 
| dbo.Name
 
| dbo.Name
 
| not null
 
| not null
 
|  
 
|  
| Contact type description.
+
|  
|- valign="top"
+
| AK_ContactType_Name
 +
|-
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (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"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 68: Line 48:
 
| '''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
 
| 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 ==
 
== 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"
 
  
 +
{| border="1" cellpadding="5" cellspacing="0"  style="border-collapse:collapse"
 +
|- style="background:silver"
 
| '''ContactTypeID
 
| '''ContactTypeID
 
| '''Name
 
| '''Name
|- valign="top"
+
|-  
 
+
| 1
| 1
+
| Accounting Manager
| Accounting Manager
+
|-  
|- valign="top"
+
| 2
 
+
| Assistant Sales Agent
| 2
+
|-  
| Assistant Sales Agent
+
| 3
|- valign="top"
+
| Assistant Sales Representative
 
+
|-  
| 3
+
| 4
| Assistant Sales Representative
+
| Coordinator Foreign Markets
|- valign="top"
+
|-  
 
+
| 5
| 4
+
| Export Administrator
| Coordinator Foreign Markets
+
|-  
|- valign="top"
+
| 6
 
+
| International Marketing Manager
| 5
+
|-  
| Export Administrator
+
| 7
|- valign="top"
+
| Marketing Assistant
 
+
|-  
| 6
+
| 8
| International Marketing Manager
+
| Marketing Manager
|- valign="top"
+
|-  
 
+
| 9
| 7
+
| Marketing Representative
| Marketing Assistant
+
|-  
|- valign="top"
+
| 10
 
+
| Order Administrator
| 8
+
|-  
| Marketing Manager
+
| 11
|- valign="top"
+
| Owner
 
+
|-  
| 9
+
| 12
| Marketing Representative
+
| Owner/Marketing Assistant
|- valign="top"
+
|-  
 
+
| 13
| 10
+
| Product Manager
| Order Administrator
+
|-  
|- valign="top"
+
| 14
 
+
| Purchasing Agent
| 11
+
|-  
| Owner
+
| 15
|- valign="top"
+
| Purchasing Manager
 
+
|-  
| 12
+
| 16
| Owner/Marketing Assistant
+
| Regional Account Representative
|- valign="top"
+
|-  
 
+
| 17
| 13
+
| Sales Agent
| Product Manager
+
|-  
|- valign="top"
+
| 18
 
+
| Sales Associate
| 14
+
|-  
| Purchasing Agent
+
| 19
|- valign="top"
+
| Sales Manager
 
+
|-  
| 15
+
| 20
| Purchasing Manager
+
| Sales Representative
|- 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 ==
 
== automatically generated ==
  
Line 225: Line 140:
 
| Person.ContactType
 
| Person.ContactType
 
|- valign="top"
 
|- valign="top"
 +
 
| '''Description
 
| '''Description
 
| Lookup table containing the types of contacts stored in Contact.
 
| Lookup table containing the types of contacts stored in Contact.
 
|-
 
|-
 +
 
|}
 
|}
  
Line 287: Line 204:
 
| Data Type
 
| Data Type
 
| Type
 
| Type
| [[dbo.Name_(type)|dbo.Name]]
+
| [[dbo.Name_(type)|true.Name]]
  
 
|-
 
|-
 
| Schema
 
| Schema
 
| Schema
 
| Schema
| [[Person_(schema)|Person]]
+
| [[Person_(schema)|false.Person]]
  
 
|}
 
|}
Line 306: Line 223:
 
| Select
 
| Select
 
| View
 
| View
| [[Purchasing.vVendor_(view)|Purchasing.vVendor]]
+
| [[Purchasing.vVendor_(view)|true.vVendor]]
  
 
|-
 
|-
 
| Select
 
| Select
 
| View
 
| View
| [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]]
+
| [[Sales.vStoreWithDemographics_(view)|true.vStoreWithDemographics]]
  
 
|-
 
|-
 
| Select
 
| Select
 
| SQL table-valued-function
 
| SQL table-valued-function
| [[dbo.ufnGetContactInformation_(function)|dbo.ufnGetContactInformation]]
+
| [[dbo.ufnGetContactInformation_(function)|true.ufnGetContactInformation]]
  
 
|}
 
|}

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)