Purchasing.VendorAddress

Table: 'Purchasing.VendorAddress'

4 fields. 28 bytes.

Cross-reference mapping vendors and addresses.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
VendorIDint   Not nullPrimary key. Foreign key to Vendor.VendorID. 
AddressIDint   Not nullPrimary key. Foreign key to Address.AddressID. 
AddressTypeIDint   Not nullAddress type. Foreign key to AddressType.AddressTypeID. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Purchasing.VendorAddress'

Primary Key NameField Names
PK_VendorAddress_VendorID_AddressIDVendorID, AddressID

Foreign keys for table 'Purchasing.VendorAddress', 3 items

ForeignPrimaryKey Name
VendorAddress.AddressIDAddress.AddressIDFK_VendorAddress_Address_AddressID
VendorAddress.AddressTypeIDAddressType.AddressTypeIDFK_VendorAddress_AddressType_AddressTypeID
VendorAddress.VendorIDVendor.VendorIDFK_VendorAddress_Vendor_VendorID

Indexes for table 'Purchasing.VendorAddress', 2 items

Index NameDescriptionClusteredUniqueFields
PK_VendorAddress_VendorID_AddressIDClustered index created by a primary key constraint.YesYesVendorID, AddressID
IX_VendorAddress_AddressIDNonclustered index.NoNoAddressID

Triggers for table 'Purchasing.VendorAddress', 1 item

NameDescriptionTypeEnabled
uVendorAddressAFTER UPDATE trigger setting the ModifiedDate column in the VendorAddress table to the current date.after Update Yes

Dependencies for table 'Purchasing.VendorAddress', 2 items

Object NameTypeField Name
Purchasing.uVendorAddresstriggerN/A
Purchasing.vVendorviewN/A