| Owner: | Production |
| Creation Date: | 04/26/2006 |
| Located On: | PRIMARY |
| Data Size KB: | 8 |
| Index Size KB: | 24 |
| Rows: | 16 |
| Description: | Manufacturing failure reasons lookup table. |
| Name | Data Type | Length | NULL | Default | IsIdentity | IsGUID | Description | ||
| ScrapReasonID | smallint | 2 | Primary key for ScrapReason records. | ||||||
| Name | Name | 100 | Failure description. | ||||||
| ModifiedDate | datetime | 8 | (getdate()) | Date and time the record was last updated. |
| Name | Seed | Increment | Not for replication | |
| ScrapReasonID | 1 | 1 |
| Index | Primary | Unique | Description | |
| PK_ScrapReason_ScrapReasonID | Primary key (clustered) constraint | |||
| AK_ScrapReason_Name | Unique nonclustered index. |
| Table | Foreign Key | Primary Key or Unique Constraint | |
| Production.WorkOrder | FK_WorkOrder_ScrapReason_ScrapReasonID | PK_ScrapReason_ScrapReasonID |
Objects that [Production].[ScrapReason] depends on
| Object Name | Owner | Object Type | Dep Level | |
| Name | dbo | User Defined type | 1 |
Objects that depend on [Production].[ScrapReason]
| Object Name | Owner | Object Type | Dep Level | |
| WorkOrder | Production | Table | 1 | |
| WorkOrderRouting | Production | Table | 2 | |
| iWorkOrder | Production | Trigger | 2 | |
| uWorkOrder | Production | Trigger | 2 |
CREATE TABLE [ScrapReason] (
[ScrapReasonID] [smallint] IDENTITY (1, 1) NOT NULL ,
[Name] [Name] NOT NULL ,
[ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_ScrapReason_ModifiedDate] DEFAULT (getdate()),
CONSTRAINT [PK_ScrapReason_ScrapReasonID] PRIMARY KEY CLUSTERED
(
[ScrapReasonID]
) ON [PRIMARY]
) ON [PRIMARY]
GO
See Also
List of tables