| Person |
| 04/26/2006 |
| PRIMARY |
| 2224 |
| 2440 |
| 19614 |
| Street address information for customers, employees, and vendors. |
|
|
AddressID |
int |
4 |
|
|
|
|
Primary key for Address records. |
|
|
AddressLine1 |
nvarchar |
60 |
|
|
|
|
First street address line. |
|
|
AddressLine2 |
nvarchar |
60 |
|
|
|
|
Second street address line. |
|
|
City |
nvarchar |
30 |
|
|
|
|
Name of the city. |
|
|
StateProvinceID |
int |
4 |
|
|
|
|
Unique identification number for the state or province. Foreign key to StateProvince table. |
|
|
PostalCode |
nvarchar |
15 |
|
|
|
|
Postal code for the street address. |
|
|
rowguid |
uniqueidentifier |
16 |
|
(newid()) |
|
|
ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |
|
|
ModifiedDate |
datetime |
8 |
|
(getdate()) |
|
|
Date and time the record was last updated. |
Total: 8 column(s)
|
AddressID |
1 |
1 |
|
Total: 4 index(es)
Total: 5 table(s)
Total: 1 table(s)
Total: 5 object(s)
Total: 14 object(s)
CREATE TABLE [Address] (
[AddressID] [int] IDENTITY (1, 1) NOT FOR REPLICATION NOT NULL ,
[AddressLine1] [nvarchar] (60) COLLATE Latin1_General_CS_AS NOT NULL ,
[AddressLine2] [nvarchar] (60) COLLATE Latin1_General_CS_AS NULL ,
[City] [nvarchar] (30) COLLATE Latin1_General_CS_AS NOT NULL ,
[StateProvinceID] [int] NOT NULL ,
[PostalCode] [nvarchar] (15) COLLATE Latin1_General_CS_AS NOT NULL ,
[rowguid] uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT [DF_Address_rowguid] DEFAULT (newid()),
[ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_Address_ModifiedDate] DEFAULT (getdate()),
CONSTRAINT [PK_Address_AddressID] PRIMARY KEY CLUSTERED
(
[AddressID]
) ON [PRIMARY] ,
CONSTRAINT [FK_Address_StateProvince_StateProvinceID] FOREIGN KEY
(
[StateProvinceID]
) REFERENCES [StateProvince] (
[StateProvinceID]
)
) ON [PRIMARY]
GO
List of tables