AdventureWorks
| Table Name: | Production.ScrapReason |
| Description: | Manufacturing failure reasons lookup table. |
| Primary Keys: | ScrapReasonID |
| Field | Type | Defaults | Nulls? | Comments |
|---|---|---|---|---|
| ScrapReasonID | smallint - Identity | None | No | Primary key for ScrapReason records. |
| Name | nvarchar (50) | None | No | Failure description. |
| ModifiedDate | datetime | (getdate()) | No | Date and time the record was last updated. |
| Index | Clustered? | Unique? | Fields |
|---|---|---|---|
| PK_ScrapReason_ScrapReasonID | Yes | Yes | ScrapReasonID |
| AK_ScrapReason_Name | No | Yes | Name |
| Primary Key as Foreign Key Constraint | Affected Table | Affected Field |
|---|---|---|
| FK_WorkOrder_ScrapReason_ScrapReasonID | Production.WorkOrder | ScrapReasonID |