Difference between revisions of "Purchasing.VendorAddress (table)"
| Line 75: | Line 75: | ||
| '''Table | | '''Table | ||
| Purchasing.VendorAddress | | Purchasing.VendorAddress | ||
| − | |- | + | |- valign="top" |
| '''Description | | '''Description | ||
| Line 97: | Line 97: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key. Foreign key to Vendor.VendorID.PK_VendorAddress_VendorID_AddressID | + | | Primary key. Foreign key to Vendor.VendorID.<br />PK_VendorAddress_VendorID_AddressID |
|- valign="top" | |- valign="top" | ||
| AddressID | | AddressID | ||
| Line 103: | Line 103: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key. Foreign key to Address.AddressID.PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID | + | | Primary key. Foreign key to Address.AddressID.<br />PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID |
|- valign="top" | |- valign="top" | ||
| AddressTypeID | | AddressTypeID | ||
| Line 109: | Line 109: | ||
| not null | | not null | ||
| | | | ||
| − | | Address type. Foreign key to AddressType.AddressTypeID. | + | | Address type. Foreign key to AddressType.AddressTypeID.<br /> |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 115: | Line 115: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated.<br /> |
|} | |} | ||
Revision as of 00:11, 27 November 2009
wikibot
| Table | Purchasing.VendorAddress |
| Column | Data Type | Nullable | Default | PK | Index |
| VendorID | int | not null | PK_VendorAddress_VendorID_AddressID | ||
| AddressID | int | not null | PK_VendorAddress_VendorID_AddressID | IX_VendorAddress_AddressID | |
| AddressTypeID | int | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| Relation | Column | Referenced Column |
| Person.Address | AddressID | AddressID |
| Person.AddressType | AddressTypeID | AddressTypeID |
| Purchasing.Vendor | VendorID | VendorID |
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 |
| Referencing Object | Object Type | Reference Type |
| Purchasing.vVendor | View | Select |