Person.Address

Table: 'Person.Address'

8 fields. 370 bytes.

Street address information for customers, employees, and vendors.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
AddressIDint identity int Not nullPrimary key for Address records. 
AddressLine1nvarchar60  Not nullFirst street address line. 
AddressLine2nvarchar60  NullSecond street address line. 
Citynvarchar30  Not nullName of the city. 
StateProvinceIDint   Not nullUnique identification number for the state or province. Foreign key to StateProvince table. 
PostalCodenvarchar15  Not nullPostal code for the street address. 
rowguiduniqueidentifier  newid()Not nullROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Person.Address'

Primary Key NameField Name
PK_Address_AddressIDAddressID

Foreign keys for table 'Person.Address', 1 item

ForeignPrimaryKey Name
Address.StateProvinceIDStateProvince.StateProvinceIDFK_Address_StateProvince_StateProvinceID

Indexes for table 'Person.Address', 4 items

Index NameDescriptionClusteredUniqueFields
PK_Address_AddressIDClustered index created by a primary key constraint.YesYesAddressID
AK_Address_rowguidUnique nonclustered index. Used to support replication samples.NoYesrowguid
IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCodeNonclustered index.NoYesAddressLine1, AddressLine2, City, StateProvinceID, PostalCode
IX_Address_StateProvinceIDNonclustered index.NoNoStateProvinceID

Triggers for table 'Person.Address', 1 item

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

Dependencies for table 'Person.Address', 6 items

Object NameTypeField Name
HumanResources.vEmployeeviewN/A
Person.uAddresstriggerN/A
Purchasing.vVendorviewN/A
Sales.vIndividualCustomerviewN/A
Sales.vSalesPersonviewN/A
Sales.vStoreWithDemographicsviewN/A