Northwind Database (Document! X Sample)
AdventureWorks Database / dbo Schema / dbo.AWBuildVersion Table
In This Topic
    dbo.AWBuildVersion Table
    In This Topic
    Description
    Current version number of the AdventureWorks 2016 sample database.
    Properties
    Creation Date27/10/2017 14:33
    File GroupPRIMARY
    Text File Group
    System Object
    Published for Replication
    Rows1
    Data Space Used8.00 KB
    Index Space Used8.00 KB
    Columns
     Column NameDescriptionDatatypeLengthAllow NullsDefaultFormula
    Primary Key Primary key for AWBuildVersion records.UnsignedTinyInt1   
     Version number of the database in 9.yy.mm.dd.00 format.VarWChar25   
     Date and time the record was last updated.DBTimeStamp4   
     Date and time the record was last updated.DBTimeStamp4 
    (getdate())
     
    Indexes
    IndexDescriptionPrimaryUnique
    Primary key (clustered) constraint
    SQL
    SET ANSI_NULLS ON
    SET QUOTED_IDENTIFIER ON
    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,
     CONSTRAINT [PK_AWBuildVersion_SystemInformationID] PRIMARY KEY CLUSTERED 
    (
        [SystemInformationID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    
    ALTER TABLE [dbo].[AWBuildVersion] ADD  CONSTRAINT [DF_AWBuildVersion_ModifiedDate]  DEFAULT (getdate()) FOR [ModifiedDate]
    See Also