# Table: ProductModelIllustration

## Properties

Property | Value
--- | ---
Name | ProductModelIllustration
ID | 210099789
Owner | dbo
Schema | Production
Filegroup | PRIMARY
Data Size (KB) | 8 KB
Index Size (KB) | 8 KB
Rows | 7
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:40 PM
Create Date | 8/8/2010 5:21:51 PM

## Extended Properties

Name | Value
--- | ---
MS_Description | Cross-reference table mapping product models and illustrations.

## Columns

Column ID | Column Name | Datatype | Nullable | Is Sparse | Is Column Set
--- | --- | --- | --- | --- | ---
1 | ProductModelID | int |  |  |
2 | IllustrationID | int |  |  |
3 | ModifiedDate | datetime |  |  |

## Identity Columns

No identity columns defined.

## Primary Key Constraints

Name | Is System Named | Extended Property Name | Extended Property Value
--- | --- | --- | ---
PK_ProductModelIllustration_ProductModelID_IllustrationID |  | MS_Description | Primary key (clustered) constraint

## Primary Key Columns

Name
ProductModelID
IllustrationID

## Foreign Keys

Name | Referenced Object | Update Action | Delete Action
--- | --- | --- | ---
FK_ProductModelIllustration_ProductModel_ProductModelID | Production.ProductModel | No action | No action
FK_ProductModelIllustration_Illustration_IllustrationID | Production.Illustration | No action | No action

## Column Level Check Constraints

No column constraints defined.

## Table Level Check Constraints

No table constraints defined.

## Default Constraints

Name | Column | Definition | Is System Named | Extended Property Name | Extended Property Value
--- | --- | --- | --- | --- | ---
DF_ProductModelIllustration_ModifiedDate | ModifiedDate | (getdate()) |  | MS_Description | Default constraint value of GETDATE()

## Indexes

Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled
--- | --- | --- | --- | --- | --- | ---
PK_ProductModelIllustration_ProductModelID_IllustrationID | CLUSTERED |  |  |  |  |

## FullText Indexes

No fulltext indexes defined.

## Referencing Tables

No referencing tables defined.

## Object Level Permissions

No object level permissions defined.

## Column Level Permissions

No explicit column permissions granted to this object

## Statistics

### Detailed Statistics General

Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
PK_ProductModelIllustration_ProductModelID_IllustrationID | Aug 8 2010 5:22PM | 7 | 7 | 5 | 0 | 8 |  |  | 7

### Detailed Statistics Density

All Density | Average Length | Columns
--- | --- | ---
0.2 | 4 | ProductModelID
0.1428571 | 8 | ProductModelID, IllustrationID

### Detailed Statistics Histogram

Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows
--- | --- | --- | --- | ---
7 | 0 | 1 | 0 | 1
10 | 0 | 1 | 0 | 1
47 | 0 | 2 | 0 | 1
48 | 0 | 2 | 0 | 1
67 | 0 | 1 | 0 | 1

### Detailed Statistics General

Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
_WA_Sys_00000002_0C85DE4D | Aug 8 2010 5:23PM | 7 | 7 | 3 | 0.5 | 4 |  |  | 7

### Detailed Statistics Density

All Density | Average Length | Columns
--- | --- | ---
0.25 | 4 | IllustrationID

### Detailed Statistics Histogram

Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows
--- | --- | --- | --- | ---
3 | 0 | 2 | 0 | 1
5 | 2 | 2 | 1 | 2
6 | 0 | 1 | 0 | 1

## Objects that depend on [ProductModelIllustration]

- Production.ProductModelIllustration

## Objects on which [ProductModelIllustration] depends

- Production.ProductModelIllustration
  - Production.ProductModel
    - Production.ManuInstructionsSchemaCollection
    - dbo.Name
    - Production.ProductDescriptionSchemaCollection
  - Production.Illustration

## SQL

Script
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [Production].[ProductModelIllustration]( [ProductModelID] [int] NOT NULL, [IllustrationID] [int] NOT NULL, [ModifiedDate] [datetime] NOT NULL ) ON [PRIMARY] EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key. Foreign key to ProductModel.ProductModelID.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductModelIllustration', @level2type=N'COLUMN',@level2name=N'ProductModelID' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key. Foreign key to Illustration.IllustrationID.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductModelIllustration', @level2type=N'COLUMN',@level2name=N'IllustrationID' 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'ProductModelIllustration', @level2type=N'COLUMN',@level2name=N'ModifiedDate' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Cross-reference table mapping product models and illustrations.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductModelIllustration'

#### See also

List of Tables