| Property | Value |
|---|---|
| Name | ContactType |
| ID | 485576768 |
| Owner | dbo |
| Schema | Person |
| Filegroup | PRIMARY |
| Data Size (KB) | 8 KB |
| Index Size (KB) | 24 KB |
| Rows | 20 |
| 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 | Lookup table containing the types of business entity contacts. |
| Column ID | Column Name | Datatype | Nullable | Is Sparse | Is Column Set |
|---|---|---|---|---|---|
| 1 | ContactTypeID | int |
|
|
|
| 2 | Name | Name |
|
|
|
| 3 | ModifiedDate | datetime |
|
|
|
| Column | Seed Value | Increment Value | Last Value | Is Not For Replication | Is Computed | Is Sparse | Is Column Set |
|---|---|---|---|---|---|---|---|
| ContactTypeID | 1 | 1 | 20 |
|
|
|
|
| Name | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|
| PK_ContactType_ContactTypeID |
|
MS_Description | Primary key (clustered) constraint |
| Name |
|---|
| ContactTypeID |
| Name | Column | Definition | Is System Named | Extended Property Name | Extended Property Value |
|---|---|---|---|---|---|
| DF_ContactType_ModifiedDate | ModifiedDate | (getdate()) |
|
MS_Description | Default constraint value of GETDATE() |
| Name | Index Type | Primary Key | Unique | Unique Constraint | Ignore Duplicate Key | Disabled |
|---|---|---|---|---|---|---|
| PK_ContactType_ContactTypeID | CLUSTERED |
|
|
|
|
|
| AK_ContactType_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_BusinessEntityContact_ContactType_ContactTypeID | 1 |
|
|
|
No action | No action |
|
Person.BusinessEntityContact |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| PK_ContactType_ContactTypeID | Aug 8 2010 5:22PM | 20 | 20 | 11 | 1 | 4 |
|
20 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.05 | 4 | ContactTypeID |
| 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 |
| 17 | 1 | 1 | 1 | 1 |
| 19 | 1 | 1 | 1 | 1 |
| 20 | 0 | 1 | 0 | 1 |
| Name | Updated | Rows | Rows Sampled | Steps | Density | Average Key Length | String Index | Filter Expression | Unfiltered Rows |
|---|---|---|---|---|---|---|---|---|---|
| AK_ContactType_Name | Aug 8 2010 5:23PM | 20 | 20 | 20 | 0 | 43.5 |
|
20 |
| All Density | Average Length | Columns |
|---|---|---|
| 0.05 | 39.5 | Name |
| 0.05 | 43.5 | Name, ContactTypeID |
| Range High Key | Range Rows | Estimated Rows | Distinct Range Rows | Avg Range Rows |
|---|---|---|---|---|
| Accounting Manager | 0 | 1 | 0 | 1 |
| Assistant Sales Agent | 0 | 1 | 0 | 1 |
| Assistant Sales Representative | 0 | 1 | 0 | 1 |
| Coordinator Foreign Markets | 0 | 1 | 0 | 1 |
| Export Administrator | 0 | 1 | 0 | 1 |
| International Marketing Manager | 0 | 1 | 0 | 1 |
| Marketing Assistant | 0 | 1 | 0 | 1 |
| Marketing Manager | 0 | 1 | 0 | 1 |
| Marketing Representative | 0 | 1 | 0 | 1 |
| Order Administrator | 0 | 1 | 0 | 1 |
| Owner | 0 | 1 | 0 | 1 |
| Owner/Marketing Assistant | 0 | 1 | 0 | 1 |
| Product Manager | 0 | 1 | 0 | 1 |
| Purchasing Agent | 0 | 1 | 0 | 1 |
| Purchasing Manager | 0 | 1 | 0 | 1 |
| Regional Account Representative | 0 | 1 | 0 | 1 |
| Sales Agent | 0 | 1 | 0 | 1 |
| Sales Associate | 0 | 1 | 0 | 1 |
| Sales Manager | 0 | 1 | 0 | 1 |
| Sales Representative | 0 | 1 | 0 | 1 |
| Script |
|---|
| SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [Person].[ContactType]( [ContactTypeID] [int] 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 ContactType records.' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'ContactType', @level2type=N'COLUMN',@level2name=N'ContactTypeID' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Contact type description.' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'ContactType', @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'Person', @level1type=N'TABLE',@level1name=N'ContactType', @level2type=N'COLUMN',@level2name=N'ModifiedDate' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Lookup table containing the types of business entity contacts.' , @level0type=N'SCHEMA',@level0name=N'Person', @level1type=N'TABLE',@level1name=N'ContactType' |