AdventureWorks2019
Production.ProductCategory
//
High-level product categorization.
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_ProductCategory_ProductCategoryIDUNIQUE CLUSTEREDProductCategoryID
-
//Unique nonclustered index.AK_ProductCategory_NameUNIQUE NONCLUSTEREDName
-
//Unique nonclustered index. Used to support replication samples.AK_ProductCategory_rowguidUNIQUE NONCLUSTEREDrowguid
Sample Data
ProductCategoryID
Name
rowguid
ModifiedDate
1
Bikes
CFBDA25C-DF71-47A7-B81B-64EE161AA37C
2
Components
C657828D-D808-4ABA-91A3-AF2CE02300E9
3
Clothing
10A7C342-CA82-48D4-8A38-46A2EB089B74
4
Accessories
2BE3BE36-D9A2-4EEE-B593-ED895D97C2A6