The Create Script:
USE [master]
GO
/****** Object: Database [EventsDB] Script Date: 08.04.2019 00:54:17 ******/
CREATE DATABASE [EventsDB]
CONTAINMENT = NONE
ON PRIMARY
( NAME = N'EventsDB', FILENAME = N'C:\Events\EventsDB.mdf' , SIZE = 65536KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
LOG ON
( NAME = N'EventsDB_log', FILENAME = N'C:\Events\EventsDB_log.ldf' , SIZE = 65536KB , MAXSIZE = UNLIMITED , FILEGROWTH = 65536KB )
GO
USE [EventsDB]
GO
/****** Object: Table [dbo].[Events] Script Date: 08.04.2019 00:47:00 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Events](
[EventUID] [int] IDENTITY(1,1) NOT NULL,
[Createdatetime] datetime2 NULL,
[EventtypeID] [int] NOT NULL,
[Executed] [bit] NOT NULL,
CONSTRAINT [PK_Events] PRIMARY KEY CLUSTERED
(
[EventUID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[Events] ON
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (1, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (2, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (3, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (4, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (5, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 127, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (6, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 127, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (7, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 127, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (8, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (9, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (10, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (11, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (12, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 127, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (13, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 127, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (14, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (15, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
INSERT [dbo].[Events] ([EventUID], [Createdatetime], [EventtypeID], [Executed]) VALUES (16, CAST(N'2019-04-01T00:08:09.8400000' AS DateTime2), 126, 0)
GO
SET IDENTITY_INSERT [dbo].[Events] OFF
GO
ALTER TABLE [dbo].[Events] ADD CONSTRAINT [DF_Events_Executed] DEFAULT ((0)) FOR [Executed]
GO