Cross-reference table mapping customers, vendors, and employees to their addresses.
| Creation Date | 27/10/2017 14:33 |
| File Group | PRIMARY |
| Text File Group | |
| System Object | ![]() |
| Published for Replication | ![]() |
| Rows | 19614 |
| Data Space Used | 880.00 KB |
| Index Space Used | 1,432.00 KB |
| Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
|---|---|---|---|---|---|---|---|
| BusinessEntityID | Primary key. Foreign key to BusinessEntity.BusinessEntityID. | Integer | 4 | |||
| AddressID | Primary key. Foreign key to Address.AddressID. | Integer | 4 | |||
| AddressTypeID | Primary key. Foreign key to AddressType.AddressTypeID. | Integer | 4 | |||
| rowguid | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | GUID | 16 | (newid()) | |||
| ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
| Index | Description | Primary | Unique |
|---|---|---|---|
| AK_BusinessEntityAddress_rowguid | Unique nonclustered index. Used to support replication samples. | ![]() | |
| IX_BusinessEntityAddress_AddressID | Nonclustered index. | ||
| IX_BusinessEntityAddress_AddressTypeID | Nonclustered index. | ||
| PK_BusinessEntityAddress_BusinessEntityID_AddressID_AddressTypeID | Primary key (clustered) constraint | ![]() | ![]() |
| Relationship | Description |
|---|---|
| FK_BusinessEntityAddress_Address_AddressID | Foreign key constraint referencing Address.AddressID. |
| FK_BusinessEntityAddress_AddressType_AddressTypeID | Foreign key constraint referencing AddressType.AddressTypeID. |
| FK_BusinessEntityAddress_BusinessEntity_BusinessEntityID | Foreign key constraint referencing BusinessEntity.BusinessEntityID. |
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | HumanResources.vEmployee | View | Employee names and addresses. | 1 |
![]() | Sales.vIndividualCustomer | View | Individual customers (names and addresses) that purchase Adventure Works Cycles products online. | 1 |
![]() | Sales.vSalesPerson | View | Sales representiatives (names and addresses) and their sales-related information. | 1 |
![]() | Sales.vStoreWithAddresses | View | Stores (including store addresses) that sell Adventure Works Cycles products to consumers. | 1 |
![]() | Purchasing.vVendorWithAddresses | View | Vendor (company) names and addresses . | 1 |
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | Person.Address | Table | Street address information for customers, employees, and vendors. | 1 |
![]() | Person.AddressType | Table | Types of addresses stored in the Address table. | 1 |
![]() | Person.BusinessEntity | Table | Source of the ID that connects vendors, customers, and employees with address and contact information. | 1 |
![]() | Person.CountryRegion | Table | Lookup table containing the ISO standard codes for countries and regions. | 3 |
![]() | dbo.Flag | User Defined Data Type | 3 | |
![]() | Sales.SalesTerritory | Table | Sales territory lookup table. | 3 |
![]() | Person.StateProvince | Table | State and province lookup table. | 2 |
|