| Property | Value |
|---|---|
| Name | AddressType |
| ID | 133575514 |
| Owner | dbo |
| Schema | Person |
| Filegroup | PRIMARY |
| Data Size (KB) | 8 KB |
| Index Size (KB) | 40 KB |
| Rows | 6 |
| 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:38 PM |
| Create Date | 8/8/2010 5:21:47 PM |
| Name | Value |
|---|---|
| MS_Description | Types of addresses stored in the Address table. |
| Column ID | Column Name | Datatype | Nullable | Is Sparse | Is Column Set |
|---|---|---|---|---|---|
| 1 | AddressTypeID | 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 |
|---|---|---|---|---|---|---|---|
| AddressTypeID | 1 | 1 | 6 |
|
|
|
|
| Name | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|
| PK_AddressType_AddressTypeID |
|
MS_Description | Primary key (clustered) constraint |
| Name |
|---|
| AddressTypeID |
| Name | Column | Definition | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|---|---|
| DF_AddressType_rowguid | rowguid | (newid()) |
|
MS_Description | Default constraint value of NEWID() |
| DF_AddressType_ModifiedDate | ModifiedDate | (getdate()) |
|
MS_Description | Default constraint value of GETDATE() |
| Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled |
|---|---|---|---|---|---|---|
| PK_AddressType_AddressTypeID | CLUSTERED |
|
|
|
|
|
| AK_AddressType_rowguid | NONCLUSTERED |
|
|
|
|
|
| AK_AddressType_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_BusinessEntityAddress_AddressType_AddressTypeID | 1 |
|
|
|
No action | No action |
|
Person.BusinessEntityAddress |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| PK_AddressType_AddressTypeID | Aug 8 2010 5:22PM | 6 | 6 | 4 | 1 | 4 |
|
6 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.1666667 | 4 | AddressTypeID |
| 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 |
| 6 | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_AddressType_rowguid | Aug 8 2010 5:23PM | 6 | 6 | 5 | 1 | 20 |
|
6 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.1666667 | 16 | rowguid |
| 0.1666667 | 20 | rowguid, AddressTypeID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| a67f238a-5ba2-444b-966c-0467ed9c427f | 0 | 1 | 0 | 1 |
| b29da3f8-19a3-47da-9daa-15c84f4a83a5 | 0 | 1 | 0 | 1 |
| 24cb3088-4345-47c4-86c5-17b535133d1e | 0 | 1 | 0 | 1 |
| b84f78b1-4efe-4a0e-8cb7-70e9f112f886 | 1 | 1 | 1 | 1 |
| 41bc2ff6-f0fc-475f-8eb9-cec0805aa0f2 | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_AddressType_Name | Aug 8 2010 5:23PM | 6 | 6 | 5 | 1 | 18.66667 |
|
6 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.1666667 | 14.66667 | Name |
| 0.1666667 | 18.66667 | Name, AddressTypeID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| Archive | 0 | 1 | 0 | 1 |
| Billing | 0 | 1 | 0 | 1 |
| Main Office | 1 | 1 | 1 | 1 |
| Primary | 0 | 1 | 0 | 1 |
| Shipping | 0 | 1 | 0 | 1 |
| Script |
|---|
| SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [Person].[AddressType]( [AddressTypeID] [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 AddressType records.' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'AddressType', @level2type=N'COLUMN',@level2name=N'AddressTypeID' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Address type description. For example, Billing, Home, or Shipping.' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'AddressType', @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'Person', @level1type=N'TABLE',@level1name=N'AddressType', @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'Person', @level1type=N'TABLE',@level1name=N'AddressType', @level2type=N'COLUMN',@level2name=N'ModifiedDate' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Types of addresses stored in the Address table. ' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'AddressType' |