Difference between revisions of "Purchasing.VendorAddress (table)"
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| Purchasing.VendorAddress | | Purchasing.VendorAddress | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Cross-reference mapping vendors and addresses. | | Cross-reference mapping vendors and addresses. | ||
− | |||
|} | |} | ||
− | |||
=== Columns === | === Columns === | ||
Line 20: | Line 18: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| VendorID | | VendorID | ||
Line 52: | Line 50: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- valign="top" |
| PK_VendorAddress_VendorID_AddressID | | PK_VendorAddress_VendorID_AddressID | ||
| VendorID, AddressID | | VendorID, AddressID | ||
Line 63: | Line 61: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- valign="top" |
| IX_VendorAddress_AddressID | | IX_VendorAddress_AddressID | ||
| | | | ||
Line 76: | Line 74: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[Person.Address_(table)|Person.Address]] | | [[Person.Address_(table)|Person.Address]] | ||
| AddressID | | AddressID | ||
| AddressID | | AddressID | ||
− | |- | + | |- valign="top" |
| [[Person.AddressType_(table)|Person.AddressType]] | | [[Person.AddressType_(table)|Person.AddressType]] | ||
| AddressTypeID | | AddressTypeID | ||
| AddressTypeID | | AddressTypeID | ||
− | |- | + | |- valign="top" |
| [[Purchasing.Vendor_(table)|Purchasing.Vendor]] | | [[Purchasing.Vendor_(table)|Purchasing.Vendor]] | ||
| VendorID | | VendorID | ||
Line 98: | Line 96: | ||
| '''Referenced Object | | '''Referenced Object | ||
− | |- | + | |- valign="top" |
| Schema | | Schema | ||
| Schema | | Schema | ||
Line 112: | Line 110: | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| View | | View |
Latest revision as of 00:17, 24 June 2010
Contents
[hide]wikibot[edit]
Table | Purchasing.VendorAddress |
Description | Cross-reference mapping vendors and addresses. |
Columns[edit]
Column | Data Type | Nullable | Default | Description |
VendorID | int | not null | Primary key. Foreign key to Vendor.VendorID. | |
AddressID | int | not null | Primary key. Foreign key to Address.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. |
Primary Key[edit]
Primary Key | Columns |
PK_VendorAddress_VendorID_AddressID | VendorID, AddressID |
Indexes[edit]
Index | Type | Columns |
IX_VendorAddress_AddressID | AddressID |
Foreign Keys[edit]
Relation | Column | Referenced Column |
Person.Address | AddressID | AddressID |
Person.AddressType | AddressTypeID | AddressTypeID |
Purchasing.Vendor | VendorID | VendorID |
References[edit]
Dependency Type | Object Type | Referenced Object |
Schema | Schema | Purchasing |
Dependencies[edit]
Reference Type | Object Type | Referencing Object |
Select | View | Purchasing.vVendor |
automatically generated[edit]
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 |