--  Source: https://www.gov.uk/bank-holidays
--
--  England and Wales
--
update calendar
set public_holiday_england_and_wales = 'N'
where year = 2018;

update calendar
set public_holiday_england_and_wales = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2018',  -- New Year's Day
        '30-Mar-2018',  -- Good Friday
        '02-Apr-2018',  -- Easter Monday
        '07-May-2018',  -- Early May Bank Holiday
        '28-May-2018',  -- Spring Bank Holiday
        '27-Aug-2018',  -- Summer Bank Holiday
        '25-Dec-2018',  -- Christmas Day
        '26-Dec-2018'   -- Boxing Day
    );
--
--
--  Scotland
--
update calendar
set public_holiday_scotland = 'N'
where year = 2018;

update calendar
set public_holiday_scotland = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2018',  -- New Year's Day
        '02-Jan-2018',  -- 2nd January
        '30-Mar-2018',  -- Good Friday
        '07-May-2018',  -- Early May Bank Holiday
        '28-May-2018',  -- Spring Bank Holiday
        '06-Aug-2018',  -- Summer Bank Holiday
        '30-Nov-2018',  -- St Andrew's Day
        '25-Dec-2018',  -- Christmas Day
        '26-Dec-2018'   -- Boxing Day
    );
--
--
--  Northern Ireland 
--
update calendar
set public_holiday_northern_ireland = 'N'
where year = 2018;

update calendar
set public_holiday_northern_ireland = 'Y'
where 
    calendar_date in
    (
        '01-Jan-2018',  -- New Year's Day 
        '19-Mar-2018',  -- St Patrick’s Day (substitute day)
        '30-Mar-2018',  -- Good Friday
        '02-Apr-2018',  -- Easter Monday
        '07-May-2018',  -- Early May Bank Holiday
        '28-May-2018',  -- Spring Bank Holiday
        '12-Jul-2018',  -- Battle of the Boyne (Orangemen’s Day)
        '27-Aug-2018',  -- Summer Bank Holiday
        '25-Dec-2018',  -- Christmas Day
        '26-Dec-2018'   -- Boxing Day
    );
