Difference between revisions of "Person.AddressType (table)"
| Line 98: | Line 98: | ||
| Shipping | | Shipping | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 120: | Line 119: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
|- | |- | ||
| Line 128: | Line 126: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for AddressType records. | + | | Primary key for AddressType records.PK_AddressType_AddressTypeID |
| − | |||
|- | |- | ||
| Name | | Name | ||
| Line 135: | Line 132: | ||
| not null | | not null | ||
| | | | ||
| − | | Address type description. For example, Billing, Home, or Shipping. | + | | Address type description. For example, Billing, Home, or Shipping.AK_AddressType_Name |
| − | |||
|- | |- | ||
| rowguid | | rowguid | ||
| Line 142: | Line 138: | ||
| not null | | not null | ||
| (NEWID()) | | (NEWID()) | ||
| − | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_AddressType_rowguid |
| − | |||
|- | |- | ||
| ModifiedDate | | ModifiedDate | ||
| Line 150: | Line 145: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
| Line 169: | Line 163: | ||
| AddressTypeID | | AddressTypeID | ||
| AddressTypeID | | AddressTypeID | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| 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 | ||
| + | |||
| + | |- | ||
| + | | [[Sales.vIndividualCustomer_(view)|Sales.vIndividualCustomer]] | ||
| + | | View | ||
| + | | Select | ||
| + | |- | ||
| + | | [[Sales.vStoreWithDemographics_(view)|Sales.vStoreWithDemographics]] | ||
| + | | View | ||
| + | | Select | ||
|} | |} | ||
Revision as of 23:52, 26 November 2009
wikibot
| Table | Person.AddressType |
| Column | Data Type | Nullable | Default | PK | Index |
| AddressTypeID | int | not null | PK_AddressType_AddressTypeID | ||
| Name | dbo.Name | not null | AK_AddressType_Name | ||
| rowguid | uniqueidentifier | not null | (newid()) | AK_AddressType_rowguid | |
| ModifiedDate | datetime | not null | (getdate()) |
| Detail Table | Column | Referencing Column |
| Sales.CustomerAddress | AddressTypeID | AddressTypeID |
| Purchasing.VendorAddress | AddressTypeID | AddressTypeID |
wikivalues
| Table Values | Person.AddressType |
| AddressTypeID | Name |
| 6 | Archive |
| 1 | Billing |
| 2 | Home |
| 3 | Main Office |
| 4 | Primary |
| 5 | Shipping |
automatically generated
| 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 |
| Referenced Object | Object Type | Dependency Type |
| dbo.Name | Type | Data Type |
| Referencing Object | Object Type | Reference Type |
| Sales.vIndividualCustomer | View | Select |
| Sales.vStoreWithDemographics | View | Select |