Databases > AdventureWorks2019 > Tables > Production.ScrapReason

AdventureWorks2019

Production.ScrapReason

//
Manufacturing failure reasons lookup table.

Created: Modified:

Columns

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

Indexes

  • //
    Clustered index created by a primary key constraint.
    PK_ScrapReason_ScrapReasonID
    UNIQUE CLUSTERED
    ScrapReasonID
  • //
    Unique nonclustered index.
    AK_ScrapReason_Name
    UNIQUE NONCLUSTERED
    Name

Sample Data

ScrapReasonID
Name
ModifiedDate
1
Brake assembly not as ordered
2
Color incorrect
3
Gouge in metal
4
Drill pattern incorrect
5
Drill size too large
6
Drill size too small
7
Handling damage
8
Paint process failed
9
Primer process failed
10
Seat assembly not as ordered
11
Stress test failed
12
Thermoform temperature too high
13
Thermoform temperature too low
14
Trim length too long
15
Trim length too short
16
Wheel misaligned