Databases > AdventureWorks2019 > Tables > Production.ProductCategory

AdventureWorks2019

Production.ProductCategory

//
High-level product categorization.

Created: Modified:

Columns

  • //
    ${escapify(column.description)}
    ProductCategoryID
    [int] IDENTITY (1,1) NOT NULL
  • //
    ${escapify(column.description)}
    Name
    [Name] NOT NULL
    //
    USER-DEFINED DATA TYPE
    [nvarchar](50) NULL
  • //
    ${escapify(column.description)}
    rowguid
    [uniqueidentifier] NOT NULL DEFAULT (newid())
  • //
    ${escapify(column.description)}
    ModifiedDate
    [datetime] NOT NULL DEFAULT (getdate())

Indexes

  • //
    Clustered index created by a primary key constraint.
    PK_ProductCategory_ProductCategoryID
    UNIQUE CLUSTERED
    ProductCategoryID
  • //
    Unique nonclustered index.
    AK_ProductCategory_Name
    UNIQUE NONCLUSTERED
    Name
  • //
    Unique nonclustered index. Used to support replication samples.
    AK_ProductCategory_rowguid
    UNIQUE NONCLUSTERED
    rowguid

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