Added latest changes for SQL Agent - Refer v2
This commit is contained in:
31
SqlAgent/v1/01_Devl/1_Database_Setup/InsertHolidays.sql
Normal file
31
SqlAgent/v1/01_Devl/1_Database_Setup/InsertHolidays.sql
Normal file
@ -0,0 +1,31 @@
|
||||
-- Clear existing data and insert 2025-2026 holidays (ignoring 0000000000 dates)
|
||||
INSERT INTO dbo.FederalHolidays (HolidayDate, HolidayName, Year) VALUES
|
||||
-- 2025 Holidays
|
||||
('2025-01-01', 'New Years Day', 2025),
|
||||
('2025-01-20', 'Martin Luther King Day', 2025),
|
||||
('2025-02-17', 'Presidents Day', 2025),
|
||||
('2025-05-26', 'Memorial Day', 2025),
|
||||
('2025-06-19', 'Juneteenth Day', 2025),
|
||||
('2025-07-04', 'Independence Day', 2025),
|
||||
('2025-09-01', 'Labor Day', 2025),
|
||||
('2025-10-13', 'Columbus Day', 2025),
|
||||
('2025-11-11', 'Veterans Day', 2025),
|
||||
('2025-11-27', 'Thanksgiving Day', 2025),
|
||||
('2025-12-25', 'Christmas Day', 2025),
|
||||
|
||||
-- 2026 Holidays
|
||||
('2026-01-01', 'New Years Day', 2026),
|
||||
('2026-01-19', 'Martin Luther King Day', 2026),
|
||||
('2026-02-16', 'Presidents Day', 2026),
|
||||
('2026-05-25', 'Memorial Day', 2026),
|
||||
('2026-06-19', 'Juneteenth Day', 2026),
|
||||
('2026-07-03', 'Independence Day', 2026), -- Note: July 3rd observed since July 4th is Saturday
|
||||
('2026-09-07', 'Labor Day', 2026),
|
||||
('2026-10-12', 'Columbus Day', 2026),
|
||||
('2026-11-11', 'Veterans Day', 2026),
|
||||
('2026-11-26', 'Thanksgiving Day', 2026),
|
||||
('2026-12-25', 'Christmas Day', 2026);
|
||||
GO
|
||||
|
||||
-- Verify the data
|
||||
SELECT * FROM dbo.FederalHolidays ORDER BY HolidayDate;
|
||||
Reference in New Issue
Block a user