Table: [AdventureWorks2016CTP3].[dbo].[AWBuildVersion]

CollapseAll image

Collapse image Table properties


Name  Value 
 Schema  [dbo]
 Owner  [dbo]
 Table is replicated   
 Creation date  23.10.2015
 ID  789577851
 Located on  PRIMARY
 Data size KB  8 KB
 Index size KB  8 KB
 Rows  1
 ChangeTrackingEnabled   
 FileStreamFileGroup   
 FileStreamPartitionScheme   
 LockEscalation  TABLE
 TrackColumnsUpdatedEnabled   
 Table is filetable   
 Filetable directory   
 Filetable collate   
 Filetable primary key  [PK_AWBuildVersion_SystemInformationID]
 Filetable streamid unique   
 Filetable fullpath unique   
 Filetable is enabled   
 Is memory optimized   
 Durability  SCHEMA_AND_DATA

Collapse image Creation options


Name  Value 
QUOTED_IDENTIFIER ON
ANSI_NULLS ON
ANSI_PADDING ON

Collapse image Columns


    Name  Description  Data type  Max length  Nullable  Default IsGUID  SPARSE Computed value
Primary key Identity SystemInformationID     tinyint 1        
    Database Version     nvarchar 25        
    VersionDate     datetime 8        
    ModifiedDate     datetime 8   (getdate())    
    Test column     xml 2147483647      
    Test column2     nchar 10      
Total: 6 column(s)

Collapse image Indexes


Index  Description  Primary  Unique  Size KB 
[PK_AWBuildVersion_SystemInformationID] SystemInformationID   16 0
Total: 1 Index/indexes

Collapse image Columnstore indexes


No columnstore indexes exist

Collapse image Identity column


  Name  Seed  Increment  Not for replication 
 SystemInformationID   1   1   

Collapse image Triggers


Name  Schema  Description  Instead 
of 
For 
insert 
For 
update 
For 
delete 
Table/view 
[dbo].[tr_u_AUDIT_AWBuildVersion] [dbo]       For Update   [dbo].[AWBuildVersion]
[dbo].[tr_d_AUDIT_AWBuildVersion] [dbo]         For Delete [dbo].[AWBuildVersion]
Total: 2 triggers(s)

Collapse image Objects that depend on [dbo].[AWBuildVersion]


Object name Object type Dep level
[dbo].[tr_d_AUDIT_AWBuildVersion] Trigger 1
[dbo].[tr_u_AUDIT_AWBuildVersion] Trigger 1
Total 2 object(s)

Collapse image Extended properties


Name  Value 
MS_Description Current version number of the AdventureWorks 2014 sample database.

Collapse image 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

Collapse image SQL


SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[AWBuildVersion] (
        [SystemInformationID]     [tinyint] IDENTITY(1, 1) NOT NULL,
        [Database Version]        [nvarchar](25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
        [VersionDate]             [datetime] NOT NULL,
        [ModifiedDate]            [datetime] NOT NULL,
        [Test column]             [xml] NULL,
        [Test column2]            [nchar](10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        CONSTRAINT [PK_AWBuildVersion_SystemInformationID]
        PRIMARY KEY
        CLUSTERED
        ([SystemInformationID])
    ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key (clustered) constraint', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'CONSTRAINT', N'PK_AWBuildVersion_SystemInformationID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Clustered index created by a primary key constraint.', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'INDEX', N'PK_AWBuildVersion_SystemInformationID'
GO
ALTER TABLE [dbo].[AWBuildVersion]
    ADD
    CONSTRAINT [DF_AWBuildVersion_ModifiedDate]
    DEFAULT (getdate()) FOR [ModifiedDate]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Default constraint value of GETDATE()', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'CONSTRAINT', N'DF_AWBuildVersion_ModifiedDate'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Version number of the database in 9.yy.mm.dd.00 format.', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'COLUMN', N'Database Version'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Date and time the record was last updated.', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'COLUMN', N'ModifiedDate'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key for AWBuildVersion records.', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'COLUMN', N'SystemInformationID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Date and time the record was last updated.', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', 'COLUMN', N'VersionDate'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Current version number of the AdventureWorks 2014 sample database. ', 'SCHEMA', N'dbo', 'TABLE', N'AWBuildVersion', NULL, NULL
GO

Collapse image See also


List of tables