Table:
[AdventureWorks2016CTP3].[Production].[Culture]
Table properties
| Name | Value |
| Schema | [Production] |
| Owner | [dbo] |
| Table is replicated | |
| Creation date | 23.10.2015 |
| ID | 1221579390 |
| Located on | PRIMARY |
| Data size KB | 8 KB |
| Index size KB | 24 KB |
| Rows | 8 |
| ChangeTrackingEnabled | |
| FileStreamFileGroup | |
| FileStreamPartitionScheme | |
| LockEscalation | TABLE |
| TrackColumnsUpdatedEnabled | |
| Table is filetable | |
| Filetable directory | |
| Filetable collate | |
| Filetable primary key | [PK_Culture_CultureID] |
| 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 | ||
| CultureID | nchar | 6 | |||||||
| Name | [dbo].[Name] | 50 | ||||||||
| ModifiedDate | datetime | 8 | (getdate()) |
Indexes
| Index | Description | Primary | Unique | Size KB | ||
| [PK_Culture_CultureID] | CultureID | ![]() |
![]() |
32 | 0 | |
| [AK_Culture_Name] | Name | ![]() |
16 | 0 |
Columnstore indexes
Referencing tables
| Table | Foreign key | Primary key or unique constraint |
| [Production].[ProductModelProductDescriptionCulture] | FK_ProductModelProductDescriptionCulture_Culture_CultureID | PK_Culture_CultureID |
Objects that depend on [Production].[Culture]
| Object name | Object type | Dep level |
| [Production].[ProductModelProductDescriptionCulture] | Table | 1 |
Objects that [Production].[Culture] depends on
| Object name | Object type | Dep level |
| [Production] | Schema | 1 |
| [dbo].[Name] | Datatype | 1 |
Extended properties
| Name | Value |
| MS_Description | Lookup table containing the languages in which some AdventureWorks data is stored. |
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 [Production].[Culture] ( [CultureID] [nchar](6) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Name] [dbo].[Name] NOT NULL, [ModifiedDate] [datetime] NOT NULL, CONSTRAINT [PK_Culture_CultureID] PRIMARY KEY CLUSTERED ([CultureID]) ON [PRIMARY] ) ON [PRIMARY] GO EXEC sp_addextendedproperty N'MS_Description', N'Primary key (clustered) constraint', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'CONSTRAINT', N'PK_Culture_CultureID' GO EXEC sp_addextendedproperty N'MS_Description', N'Clustered index created by a primary key constraint.', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'INDEX', N'PK_Culture_CultureID' GO ALTER TABLE [Production].[Culture] ADD CONSTRAINT [DF_Culture_ModifiedDate] DEFAULT (getdate()) FOR [ModifiedDate] GO EXEC sp_addextendedproperty N'MS_Description', N'Default constraint value of GETDATE()', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'CONSTRAINT', N'DF_Culture_ModifiedDate' GO CREATE UNIQUE NONCLUSTERED INDEX [AK_Culture_Name] ON [Production].[Culture] ([Name]) ON [PRIMARY] GO EXEC sp_addextendedproperty N'MS_Description', N'Unique nonclustered index.', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'INDEX', N'AK_Culture_Name' GO EXEC sp_addextendedproperty N'MS_Description', N'Primary key for Culture records.', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'COLUMN', N'CultureID' GO EXEC sp_addextendedproperty N'MS_Description', N'Date and time the record was last updated.', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'COLUMN', N'ModifiedDate' GO EXEC sp_addextendedproperty N'MS_Description', N'Culture description.', 'SCHEMA', N'Production', 'TABLE', N'Culture', 'COLUMN', N'Name' GO EXEC sp_addextendedproperty N'MS_Description', N'Lookup table containing the languages in which some AdventureWorks data is stored.', 'SCHEMA', N'Production', 'TABLE', N'Culture', NULL, NULL GO |
See also