CREATE TABLE [dbo].[ValidationRule] (
    [Id]        UNIQUEIDENTIFIER NOT NULL,
    [Name]      NVARCHAR (100)   NULL,
    [Context]   NVARCHAR (255)   NULL,
    [Rule]      NVARCHAR (MAX)   NULL,
    [Changed]   DATETIME         NULL,
    [ChangedBy] NVARCHAR (100)   NULL,
    [Created]   DATETIME         NULL,
    [CreatedBy] NVARCHAR (100)   NULL,
    [IsActive]  BIT              NULL,
    CONSTRAINT [PK_Table] PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO