| Property | Value |
|---|---|
| Name | ProductCategory |
| ID | 1957582012 |
| Owner | dbo |
| Schema | Production |
| Filegroup | PRIMARY |
| Data Size (KB) | 8 KB |
| Index Size (KB) | 40 KB |
| Rows | 4 |
| 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 |
| Name | Value |
|---|---|
| MS_Description | High-level product categorization. |
| Column ID | Column Name | Datatype | Nullable | Is Sparse | Is Column Set |
|---|---|---|---|---|---|
| 1 | ProductCategoryID | int |
|
|
|
| 2 | Name | Name |
|
|
|
| 3 | rowguid | uniqueidentifier |
|
|
|
| 4 | ModifiedDate | datetime |
|
|
|
| Column | Seed Value | Increment Value | Last Value | Is Not For Replication | Is Computed | Is Sparse | Is Column Set |
|---|---|---|---|---|---|---|---|
| ProductCategoryID | 1 | 1 | 4 |
|
|
|
|
| Name | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|
| PK_ProductCategory_ProductCategoryID |
|
MS_Description | Primary key (clustered) constraint |
| Name |
|---|
| ProductCategoryID |
| Name | Column | Definition | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|---|---|
| DF_ProductCategory_rowguid | rowguid | (newid()) |
|
MS_Description | Default constraint value of NEWID()() |
| DF_ProductCategory_ModifiedDate | ModifiedDate | (getdate()) |
|
MS_Description | Default constraint value of GETDATE() |
| Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled |
|---|---|---|---|---|---|---|
| PK_ProductCategory_ProductCategoryID | CLUSTERED |
|
|
|
|
|
| AK_ProductCategory_Name | NONCLUSTERED |
|
|
|
|
|
| AK_ProductCategory_rowguid | NONCLUSTERED |
|
|
|
|
|
| Name | Key Index ID | Is Disabled | Is Not For Replication | Is Not Trusted | Delete Action | Update Action | Is System Named | Referencing Object |
|---|---|---|---|---|---|---|---|---|
| FK_ProductSubcategory_ProductCategory_ProductCategoryID | 1 |
|
|
|
No action | No action |
|
Production.ProductSubcategory |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| PK_ProductCategory_ProductCategoryID | Aug 8 2010 5:22PM | 4 | 4 | 3 | 1 | 4 |
|
4 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.25 | 4 | ProductCategoryID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| 1 | 0 | 1 | 0 | 1 |
| 3 | 1 | 1 | 1 | 1 |
| 4 | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_ProductCategory_Name | Aug 8 2010 5:23PM | 4 | 4 | 4 | 0 | 21 |
|
4 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.25 | 17 | Name |
| 0.25 | 21 | Name, ProductCategoryID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| Accessories | 0 | 1 | 0 | 1 |
| Bikes | 0 | 1 | 0 | 1 |
| Clothing | 0 | 1 | 0 | 1 |
| Components | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_ProductCategory_rowguid | Aug 8 2010 5:23PM | 4 | 4 | 3 | 1 | 20 |
|
4 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.25 | 16 | rowguid |
| 0.25 | 20 | rowguid, ProductCategoryID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| 10a7c342-ca82-48d4-8a38-46a2eb089b74 | 0 | 1 | 0 | 1 |
| cfbda25c-df71-47a7-b81b-64ee161aa37c | 0 | 1 | 0 | 1 |
| 2be3be36-d9a2-4eee-b593-ed895d97c2a6 | 1 | 1 | 1 | 1 |
| Script |
|---|
| SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [Production].[ProductCategory]( [ProductCategoryID] [int] IDENTITY(1,1) NOT NULL, [Name] [dbo].[Name] NOT NULL, [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL, [ModifiedDate] [datetime] NOT NULL ) ON [PRIMARY] EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primary key for ProductCategory records.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductCategory', @level2type=N'COLUMN',@level2name=N'ProductCategoryID' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Category description.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductCategory', @level2type=N'COLUMN',@level2name=N'Name' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductCategory', @level2type=N'COLUMN',@level2name=N'rowguid' 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'ProductCategory', @level2type=N'COLUMN',@level2name=N'ModifiedDate' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'High-level product categorization.' , @level0type=N'SCHEMA',@level0name=N'Production', @level1type=N'TABLE',@level1name=N'ProductCategory' |