| Property | Value |
|---|---|
| Name | vProductAndDescription |
| ID | 1931153925 |
| Schema | Production |
| Owner | dbo |
| Encrypted |
|
| Schema Bound |
|
| With Check Option |
|
| ANSI NULLS |
|
| Uses Quoted Identifier |
|
| Has Opaque Metadata |
|
| Published |
|
| Schema Published |
|
| Replicated |
|
| Has Replication Filter |
|
| Has Unchecked Assembly Data |
|
| Date Correlation View |
|
| Uses Database Collation |
|
| Tracked by CDC |
|
| MS Shipped |
|
| Modify Date | 8/8/2010 5:23:45 PM |
| Create Date | 8/8/2010 5:23:45 PM |
| Name | Value |
|---|---|
| MS_Description | Product names and descriptions. Product descriptions are provided in multiple languages. |
| Column Name | Datatype | Nullable | Is Identity |
|---|---|---|---|
| ProductID | int |
|
|
| Name | Name |
|
|
| ProductModel | Name |
|
|
| CultureID | nchar(6) |
|
|
| Description | nvarchar(400) |
|
|
| Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled |
|---|---|---|---|---|---|---|
| IX_vProductAndDescription | CLUSTERED |
|
|
|
|
|
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| IX_vProductAndDescription | Aug 8 2010 5:23PM | 1764 | 1764 | 6 | 0 | 16 |
|
1764 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.1666667 | 12 | CultureID |
| 0.0005668934 | 16 | CultureID, ProductID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| ar | 0 | 294 | 0 | 1 |
| en | 0 | 294 | 0 | 1 |
| fr | 0 | 294 | 0 | 1 |
| he | 0 | 294 | 0 | 1 |
| th | 0 | 294 | 0 | 1 |
| zh-cht | 0 | 294 | 0 | 1 |
| Script |
|---|
| SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE VIEW [Production].[vProductAndDescription] WITH SCHEMABINDING AS SELECT p.[ProductID] ,p.[Name] ,pm.[Name] AS [ProductModel] ,pmx.[CultureID] ,pd.[Description] FROM [Production].[Product] p INNER JOIN [Production].[ProductModel] pm ON p.[ProductModelID] = pm.[ProductModelID] INNER JOIN [Production].[ProductModelProductDescriptionCulture] pmx ON pm.[ProductModelID] = pmx.[ProductModelID] INNER JOIN [Production].[ProductDescription] pd ON pmx.[ProductDescriptionID] = pd.[ProductDescriptionID]; EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Clustered index on the view vProductAndDescription.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'VIEW',@level1name=N'vProductAndDescription', @level2type=N'INDEX',@level2name=N'IX_vProductAndDescription' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Product names and descriptions. Product descriptions are provided in multiple languages.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'VIEW',@level1name=N'vProductAndDescription' |