IF NOT EXISTS
(
    SELECT name
    FROM sysobjects
    WHERE name = 'SupplementaryInsurance_Formula'
)
BEGIN

    CREATE TABLE [dbo].[SupplementaryInsurance_Formula]
    (
        [Id] [TINYINT] IDENTITY(1, 1) NOT NULL,
        [Name] [NVARCHAR](50) NULL,
        [Definition] [NVARCHAR](MAX) NULL,
        CONSTRAINT [PK_SupplementaryInsurance_Formula]
            PRIMARY KEY CLUSTERED ([Id] ASC)
            WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
                  ALLOW_PAGE_LOCKS = ON
                 ) ON [PRIMARY],
        CONSTRAINT [IX_SupplementaryInsurance_Formula]
            UNIQUE NONCLUSTERED ([Name] ASC)
    ) ON [PRIMARY];

END;