Difference between revisions of "Person.AddressType (table)"
| Line 62: | Line 62: | ||
| '''Columns | | '''Columns | ||
| + | |- valign="top" | ||
| + | | AK_AddressType_Name | ||
| + | | Unique | ||
| + | | Name | ||
|- valign="top" | |- valign="top" | ||
| AK_AddressType_rowguid | | AK_AddressType_rowguid | ||
| Unique | | Unique | ||
| rowguid | | rowguid | ||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
| Line 126: | Line 126: | ||
|} | |} | ||
| + | |||
| + | |||
== wikivalues == | == wikivalues == | ||
Latest revision as of 09:55, 27 August 2011
Contents
wikibot[edit]
| Table | Person.AddressType |
| Description | Types of addresses stored in the Address table. |
Columns[edit]
| Column | Data Type | Nullable | Default | Description |
| AddressTypeID | int | not null | Primary key for AddressType records. | |
| Name | dbo.Name | not null | Address type description. For example, Billing, Home, or Shipping. | |
| rowguid | uniqueidentifier | not null | (newid()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key[edit]
| Primary Key | Columns |
| PK_AddressType_AddressTypeID | AddressTypeID |
Indexes[edit]
| Index | Type | Columns |
| AK_AddressType_Name | Unique | Name |
| AK_AddressType_rowguid | Unique | rowguid |
Detail Tables[edit]
| Detail Table | Column | Referencing Column |
| Sales.CustomerAddress | AddressTypeID | AddressTypeID |
| Purchasing.VendorAddress | AddressTypeID | AddressTypeID |
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 | Sales.vIndividualCustomer |
| Select | View | Sales.vStoreWithDemographics |
wikivalues[edit]
| Table Values | Person.AddressType |
| AddressTypeID | Name |
| 6 | Archive |
| 1 | Billing |
| 2 | Home |
| 3 | Main Office |
| 4 | Primary |
| 5 | Shipping |
automatically generated[edit]
| Table | Person.AddressType |
| Description | Types of addresses stored in the Address table. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| AddressTypeID | int | not null | Primary key for AddressType records. PK_AddressType_AddressTypeID | |
| Name | Name | not null | Address type description. For example, Billing, Home, or Shipping. AK_AddressType_Name | |
| rowguid | uniqueidentifier | not null | (NEWID()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. AK_AddressType_rowguid |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| Sales.CustomerAddress | AddressTypeID | AddressTypeID |
| Purchasing.VendorAddress | AddressTypeID | AddressTypeID |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Person |
| Reference Type | Object Type | Referencing Object |
| Select | View | Sales.vIndividualCustomer |
| Select | View | Sales.vStoreWithDemographics |