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.AddressType | | | Person.AddressType |
− | |- valign="top" | + | |- |
− | | '''Description
| |
− | | Types of addresses stored in the Address table.
| |
| |} | | |} |
| | | |
− | === 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" | + | |
| + | |- |
| | AddressTypeID | | | AddressTypeID |
| | int | | | int |
| | not null | | | not null |
| | | | | |
− | | Primary key for AddressType records. | + | | PK_AddressType_AddressTypeID |
− | |- valign="top" | + | | |
| + | |- |
| | Name | | | Name |
| | dbo.Name | | | dbo.Name |
| | not null | | | not null |
| | | | | |
− | | Address type description. For example, Billing, Home, or Shipping. | + | | |
− | |- valign="top" | + | | AK_AddressType_Name |
| + | |- |
| | rowguid | | | rowguid |
| | uniqueidentifier | | | uniqueidentifier |
| | not null | | | not null |
| | (newid()) | | | (newid()) |
− | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | + | | |
− | |- valign="top" | + | | AK_AddressType_rowguid |
| + | |- |
| | 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_AddressType_AddressTypeID
| |
− | | AddressTypeID
| |
− | |}
| |
− |
| |
− | === Indexes ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Index
| |
− | | '''Type
| |
− | | '''Columns
| |
− |
| |
− | |- valign="top"
| |
− | | AK_AddressType_Name
| |
− | | Unique
| |
− | | Name
| |
− | |- valign="top"
| |
− | | AK_AddressType_rowguid
| |
− | | Unique
| |
− | | rowguid
| |
− | |}
| |
− |
| |
− | === Detail Tables ===
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Detail Table
| |
− | | '''Column
| |
− | | '''Referencing Column
| |
− |
| |
− | |- valign="top"
| |
− | | [[Sales.CustomerAddress_(table)|Sales.CustomerAddress]]
| |
− | | AddressTypeID
| |
− | | AddressTypeID
| |
− | |- valign="top"
| |
− | | [[Purchasing.VendorAddress_(table)|Purchasing.VendorAddress]]
| |
− | | AddressTypeID
| |
− | | AddressTypeID
| |
− | |}
| |
− |
| |
− | === 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
| |
− | | [[Sales.vIndividualCustomer_(view)|Sales.vIndividualCustomer]]
| |
− |
| |
− | |- valign="top"
| |
− | | Select
| |
− | | View
| |
− | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]]
| |
− |
| |
− | |}
| |
− |
| |
− |
| |
− | == wikivalues ==
| |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- valign="top"
| |
− | | '''Table Values
| |
− | | Person.AddressType
| |
− | |}
| |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− |
| |
− | | '''AddressTypeID
| |
− | | '''Name
| |
− | |- valign="top"
| |
− |
| |
− | | 6
| |
− | | Archive
| |
− | |- valign="top"
| |
− |
| |
− | | 1
| |
− | | Billing
| |
− | |- valign="top"
| |
− |
| |
− | | 2
| |
− | | Home
| |
− | |- valign="top"
| |
− |
| |
− | | 3
| |
− | | Main Office
| |
− | |- valign="top"
| |
− |
| |
− | | 4
| |
− | | Primary
| |
− | |- valign="top"
| |
− |
| |
− | | 5
| |
− | | Shipping
| |
− | |}
| |
− |
| |
− | == automatically generated ==
| |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |-
| |
− | | '''Table
| |
− | | Person.AddressType
| |
− | |- valign="top"
| |
− | | '''Description
| |
− | | Types of addresses stored in the Address table.
| |
− | |-
| |
− | |}
| |
− |
| |
− |
| |
− | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
| |
− | |- style="background:silver"
| |
− | | '''Column
| |
− | | '''Data Type
| |
− | | '''Nullable
| |
− | | '''Default
| |
− | | '''Description / PK / Index
| |
− |
| |
− | |- valign="top"
| |
− | | AddressTypeID
| |
− | | int
| |
− | | not null
| |
| | | | | |
− | | Primary key for AddressType records.<br />PK_AddressType_AddressTypeID
| |
− | |- valign="top"
| |
− | | Name
| |
− | | Name
| |
− | | not null
| |
| | | | | |
− | | Address type description. For example, Billing, Home, or Shipping.<br />AK_AddressType_Name
| |
− | |- valign="top"
| |
− | | rowguid
| |
− | | uniqueidentifier
| |
− | | not null
| |
− | | (NEWID())
| |
− | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.<br />AK_AddressType_rowguid
| |
− | |- valign="top"
| |
− | | ModifiedDate
| |
− | | datetime
| |
− | | not null
| |
− | | (GETDATE())
| |
− | | Date and time the record was last updated.<br />
| |
| |} | | |} |
| | | |
Line 231: |
Line 65: |
| | AddressTypeID | | | AddressTypeID |
| |} | | |} |
− | | + | == wikivalues == |
| | | |
| {| 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 | + | | '''Table Values |
− | | Type | + | | Person.AddressType |
− | | [[dbo.Name_(type)|dbo.Name]]
| |
− | | |
| |- | | |- |
− | | Schema
| |
− | | Schema
| |
− | | [[Person_(schema)|Person]]
| |
− |
| |
| |} | | |} |
| | | |
| | | |
− | {| 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" |
− | | '''Reference Type | + | | '''AddressTypeID |
− | | '''Object Type | + | | '''Name |
− | | '''Referencing Object | + | |- |
− | | + | | 6 |
− | |- | + | | Archive |
− | | Select | + | |- |
− | | View | + | | 1 |
− | | [[Sales.vIndividualCustomer_(view)|Sales.vIndividualCustomer]] | + | | Billing |
− | | + | |- |
− | |- | + | | 2 |
− | | Select | + | | Home |
− | | View | + | |- |
− | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | + | | 3 |
− | | + | | Main Office |
| + | |- |
| + | | 4 |
| + | | Primary |
| + | |- |
| + | | 5 |
| + | | Shipping |
| |} | | |} |