AdventureWorks Database > Purchasing Schema : Purchasing.VendorAddress Table |
Creation Date | 08/01/2010 08:40 |
File Group | PRIMARY |
Text File Group | |
System Object | ![]() |
Published for Replication | ![]() |
Rows | 104 |
Data Space Used | 8.00 KB |
Index Space Used | 24.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
![]() | VendorID | Primary key. Foreign key to Vendor.VendorID. | int | 4 | |||
![]() | AddressID | Primary key. Foreign key to Address.AddressID. | int | 4 | |||
AddressTypeID | Address type. Foreign key to AddressType.AddressTypeID. | int | 4 | ||||
ModifiedDate | Date and time the record was last updated. | datetime | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
IX_VendorAddress_AddressID | Nonclustered index. | ||
PK_VendorAddress_VendorID_AddressID | Primary key (clustered) constraint | ![]() | ![]() |
Relationship | Description |
---|---|
FK_VendorAddress_Address_AddressID | Foreign key constraint referencing Address.AddressID. |
FK_VendorAddress_AddressType_AddressTypeID | Foreign key constraint referencing AddressType.AddressTypeID. |
FK_VendorAddress_Vendor_VendorID | Foreign key constraint referencing Vendor.VendorID. |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | Purchasing.vVendor | View | Vendor (company) names and addresses and the names of vendor employees to contact. | 1 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | dbo.AccountNumber | User Defined Data Type | 2 | |
![]() | 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.CountryRegion | Table | Lookup table containing the ISO standard codes for countries and regions. | 3 |
![]() | dbo.ErrorLog | Table | Audit table tracking errors in the the AdventureWorks database that are caught by the CATCH block of a TRY...CATCH construct. Data is inserted by stored procedure dbo.uspLogError when it is executed from inside the CATCH block of a TRY...CATCH construct. | 3 |
![]() | Sales.SalesTerritory | Table | Sales territory lookup table. | 3 |
![]() | Person.StateProvince | Table | State and province lookup table. | 2 |
![]() | dbo.uspLogError | Stored Procedure | Logs error information in the ErrorLog table about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without inserting error information. | 2 |
![]() | dbo.uspPrintError | Stored Procedure | Prints error information about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without printing any error information. | 2 |
![]() | Purchasing.Vendor | Table | Companies from whom Adventure Works Cycles purchases parts or other goods. | 1 |
|