AdventureWorks2019
Person.AddressType
//
Types of addresses stored in the Address table.
Created: Modified:
Columns
-
//${escapify(column.description)}[int] IDENTITY (1,1) NOT NULL
-
//${escapify(column.description)}[Name] NOT NULL//USER-DEFINED DATA TYPE[nvarchar](50) NULL
-
//${escapify(column.description)}[uniqueidentifier] NOT NULL DEFAULT (newid())
-
//${escapify(column.description)}[datetime] NOT NULL DEFAULT (getdate())
Indexes
-
//Clustered index created by a primary key constraint.PK_AddressType_AddressTypeIDUNIQUE CLUSTEREDAddressTypeID
-
//Unique nonclustered index. Used to support replication samples.AK_AddressType_rowguidUNIQUE NONCLUSTEREDrowguid
-
//Unique nonclustered index.AK_AddressType_NameUNIQUE NONCLUSTEREDName
Sample Data
AddressTypeID
Name
rowguid
ModifiedDate
1
Billing
B84F78B1-4EFE-4A0E-8CB7-70E9F112F886
2
Home
41BC2FF6-F0FC-475F-8EB9-CEC0805AA0F2
3
Main Office
8EEEC28C-07A2-4FB9-AD0A-42D4A0BBC575
4
Primary
24CB3088-4345-47C4-86C5-17B535133D1E
5
Shipping
B29DA3F8-19A3-47DA-9DAA-15C84F4A83A5
6
Archive
A67F238A-5BA2-444B-966C-0467ED9C427F