Difference between revisions of "Purchasing.VendorAddress (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Purchasing.VendorAddress
 
| Purchasing.VendorAddress
 +
|- valign="top"
 +
| '''Description
 +
| Cross-reference mapping vendors and addresses.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| VendorID
 
| VendorID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_VendorAddress_VendorID_AddressID
+
| Primary key. Foreign key to Vendor.VendorID.<br />PK_VendorAddress_VendorID_AddressID
|
+
|- valign="top"
|-
 
 
| AddressID
 
| AddressID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_VendorAddress_VendorID_AddressID
+
| Primary key. Foreign key to Address.AddressID.<br />PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID
| IX_VendorAddress_AddressID
+
|- valign="top"
|-
 
 
| AddressTypeID
 
| AddressTypeID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Address type. Foreign key to AddressType.AddressTypeID.<br />
|
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 69: Line 67:
 
| VendorID
 
| VendorID
 
|}
 
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Select
 +
| View
 +
| [[Purchasing.vVendor_(view)|Purchasing.vVendor]]
 +
 +
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:55, 28 December 2009

wikibot

Table Purchasing.VendorAddress
Description Cross-reference mapping vendors and addresses.


Column Data Type Nullable Default Description / PK / Index
VendorID int not null Primary key. Foreign key to Vendor.VendorID.
PK_VendorAddress_VendorID_AddressID
AddressID int not null Primary key. Foreign key to Address.AddressID.
PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID
AddressTypeID int not null Address type. Foreign key to AddressType.AddressTypeID.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.


Relation Column Referenced Column
Person.Address AddressID AddressID
Person.AddressType AddressTypeID AddressTypeID
Purchasing.Vendor VendorID VendorID


Reference Type Object Type Referencing Object
Select View Purchasing.vVendor


automatically generated

Table Purchasing.VendorAddress
Description Cross-reference mapping vendors and addresses.


Column Data Type Nullable Default Description / PK / Index
VendorID int not null Primary key. Foreign key to Vendor.VendorID.
PK_VendorAddress_VendorID_AddressID
AddressID int not null Primary key. Foreign key to Address.AddressID.
PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID
AddressTypeID int not null Address type. Foreign key to AddressType.AddressTypeID.
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Person.Address AddressID AddressID
Person.AddressType AddressTypeID AddressTypeID
Purchasing.Vendor VendorID VendorID


Dependency Type Object Type Referenced Object
Schema Schema Purchasing


Reference Type Object Type Referencing Object
Select View Purchasing.vVendor