| Property | Value |
|---|---|
| Name | ScrapReason |
| ID | 1906105831 |
| Owner | dbo |
| Schema | Production |
| Filegroup | PRIMARY |
| Data Size (KB) | 8 KB |
| Index Size (KB) | 24 KB |
| Rows | 16 |
| Unused (KB) | 0 KB |
| ANSI Null On |
|
| Quoted Identifier |
|
| Lock Escalation | TABLE |
| Lock On Bulk Load |
|
| Lob Data Space | |
| Filestream Data Space ID | |
| Has Unchecked Assembly Data |
|
| Text In Row Limit (bytes) | Option not set |
| Large Value Types Out Of Row |
|
| FullText Change Tracking On |
|
| Tracked By Cdc |
|
| Published |
|
| Schema Published |
|
| Replicated |
|
| Replication Filter |
|
| Merge Published |
|
| Sync Tran Subscribed |
|
| MS Shipped |
|
| Modify Date | 8/8/2010 5:23:43 PM |
| Create Date | 8/8/2010 5:21:53 PM |
| Name | Value |
|---|---|
| MS_Description | Manufacturing failure reasons lookup table. |
| Column ID | Column Name | Datatype | Nullable | Is Sparse | Is Column Set |
|---|---|---|---|---|---|
| 1 | ScrapReasonID | smallint |
|
|
|
| 2 | Name | Name |
|
|
|
| 3 | ModifiedDate | datetime |
|
|
|
| Column | Seed Value | Increment Value | Last Value | Is Not For Replication | Is Computed | Is Sparse | Is Column Set |
|---|---|---|---|---|---|---|---|
| ScrapReasonID | 1 | 1 | 16 |
|
|
|
|
| Name | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|
| PK_ScrapReason_ScrapReasonID |
|
MS_Description | Primary key (clustered) constraint |
| Name |
|---|
| ScrapReasonID |
| Name | Column | Definition | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|---|---|
| DF_ScrapReason_ModifiedDate | ModifiedDate | (getdate()) |
|
MS_Description | Default constraint value of GETDATE() |
| Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled |
|---|---|---|---|---|---|---|
| PK_ScrapReason_ScrapReasonID | CLUSTERED |
|
|
|
|
|
| AK_ScrapReason_Name | NONCLUSTERED |
|
|
|
|
|
| Name | Key Index ID | Is Disabled | Is Not For Replication | Is Not Trusted | Delete Action | Update Action | Is System Named | Referencing Object |
|---|---|---|---|---|---|---|---|---|
| FK_WorkOrder_ScrapReason_ScrapReasonID | 1 |
|
|
|
No action | No action |
|
Production.WorkOrder |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| PK_ScrapReason_ScrapReasonID | Aug 8 2010 5:23PM | 16 | 16 | 9 | 1 | 2 |
|
16 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.0625 | 2 | ScrapReasonID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| 1 | 0 | 1 | 0 | 1 |
| 3 | 1 | 1 | 1 | 1 |
| 5 | 1 | 1 | 1 | 1 |
| 7 | 1 | 1 | 1 | 1 |
| 9 | 1 | 1 | 1 | 1 |
| 11 | 1 | 1 | 1 | 1 |
| 13 | 1 | 1 | 1 | 1 |
| 15 | 1 | 1 | 1 | 1 |
| 16 | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_ScrapReason_Name | Aug 8 2010 5:23PM | 16 | 16 | 16 | 0 | 44.625 |
|
16 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.0625 | 42.625 | Name |
| 0.0625 | 44.625 | Name, ScrapReasonID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| Brake assembly not as ordered | 0 | 1 | 0 | 1 |
| Color incorrect | 0 | 1 | 0 | 1 |
| Drill pattern incorrect | 0 | 1 | 0 | 1 |
| Drill size too large | 0 | 1 | 0 | 1 |
| Drill size too small | 0 | 1 | 0 | 1 |
| Gouge in metal | 0 | 1 | 0 | 1 |
| Handling damage | 0 | 1 | 0 | 1 |
| Paint process failed | 0 | 1 | 0 | 1 |
| Primer process failed | 0 | 1 | 0 | 1 |
| Seat assembly not as ordered | 0 | 1 | 0 | 1 |
| Stress test failed | 0 | 1 | 0 | 1 |
| Thermoform temperature too high | 0 | 1 | 0 | 1 |
| Thermoform temperature too low | 0 | 1 | 0 | 1 |
| Trim length too long | 0 | 1 | 0 | 1 |
| Trim length too short | 0 | 1 | 0 | 1 |
| Wheel misaligned | 0 | 1 | 0 | 1 |
| Script |
|---|
| SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [Production].[ScrapReason]( [ScrapReasonID] [smallint] IDENTITY(1,1) NOT NULL, [Name] [dbo].[Name] NOT NULL, [ModifiedDate] [datetime] NOT NULL ) ON [PRIMARY] EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key for ScrapReason records.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ScrapReason', @level2type=N'COLUMN',@level2name=N'ScrapReasonID' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Failure description.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ScrapReason', @level2type=N'COLUMN',@level2name=N'Name' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Date and time the record was last updated.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ScrapReason', @level2type=N'COLUMN',@level2name=N'ModifiedDate' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Manufacturing failure reasons lookup table.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ScrapReason' |