Table:
[AdventureWorks2016CTP3].[Sales].[TrackingEvent]
Table properties
| Name | Value |
| Schema | [Sales] |
| Owner | [dbo] |
| Table is replicated | |
| Creation date | 16.11.2015 |
| ID | 1965250056 |
| Located on | PRIMARY |
| Data size KB | 8 KB |
| Index size KB | 8 KB |
| Rows | 7 |
| ChangeTrackingEnabled | |
| FileStreamFileGroup | |
| FileStreamPartitionScheme | |
| LockEscalation | TABLE |
| TrackColumnsUpdatedEnabled | |
| Table is filetable | |
| Filetable directory | |
| Filetable collate | |
| Filetable primary key | [PK_TrackingEvent_TrackingEventID] |
| Filetable streamid unique | |
| Filetable fullpath unique | |
| Filetable is enabled | |
| Is memory optimized | |
| Durability | SCHEMA_AND_DATA |
Creation options
| Name | Value |
| QUOTED_IDENTIFIER | ON |
| ANSI_NULLS | ON |
| ANSI_PADDING | ON |
Columns
| Name | Description | Data type | Max length | Nullable | Default | IsGUID | SPARSE | Computed value | |||
| | TrackingEventID | int | 4 | |||||||
| EventName | nvarchar | 255 |
Indexes
| Index | Description | Primary | Unique | Size KB | ||
| [PK_TrackingEvent_TrackingEventID] | TrackingEventID | ![]() |
![]() |
16 | 0 |
Columnstore indexes
Identity column
| Name | Seed | Increment | Not for replication | |
![]() |
TrackingEventID | 1 | 1 |
Objects that depend on [Sales].[TrackingEvent]
| Object name | Object type | Dep level |
| [dbo].[uspGetOrderTrackingBySalesOrderID] | Procedure | 1 |
| [dbo].[uspGetOrderTrackingByTrackingNumber] | Procedure | 1 |
Objects that [Sales].[TrackingEvent] depends on
| Object name | Object type | Dep level |
| [Sales] | Schema | 1 |
Extended properties
| Name | Value |
| MS_Description | Tracking event lookup table. |
Table options
| Name | Value |
| Pintable | OFF |
| Table lock on bulk load | OFF |
| Insert row lock | OFF |
| Text in row | 0 |
| Large value types out of row | OFF |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON SET ANSI_PADDING ON GO CREATE TABLE [Sales].[TrackingEvent] ( [TrackingEventID] [int] IDENTITY(1, 1) NOT NULL, [EventName] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, CONSTRAINT [PK_TrackingEvent_TrackingEventID] PRIMARY KEY CLUSTERED ([TrackingEventID]) ON [PRIMARY] ) ON [PRIMARY] GO EXEC sp_addextendedproperty N'MS_Description', N'Primary key (clustered) constraint', 'SCHEMA', N'Sales', 'TABLE', N'TrackingEvent', 'CONSTRAINT', N'PK_TrackingEvent_TrackingEventID' GO EXEC sp_addextendedproperty N'MS_Description', N'Tracking event name.', 'SCHEMA', N'Sales', 'TABLE', N'TrackingEvent', 'COLUMN', N'EventName' GO EXEC sp_addextendedproperty N'MS_Description', N'Primary key.', 'SCHEMA', N'Sales', 'TABLE', N'TrackingEvent', 'COLUMN', N'TrackingEventID' GO EXEC sp_addextendedproperty N'MS_Description', N'Tracking event lookup table.', 'SCHEMA', N'Sales', 'TABLE', N'TrackingEvent', NULL, NULL GO |
See also