Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
DELIMITER | CREATE PROCEDURE fill_calendar(start_date DATE, end_date DATE) BEGIN DECLARE crt_date DATE; DECLARE Yr INT; DECLARE Mo INT; SET crt_date = start_date; SET Yr= Year(start_date); SET Mo= Month(start_date); WHILE crt_date < end_date DO INSERT INTO calendar(Yr,Mo) VALUES(Yr,Mo); SET crt_date = ADDDATE(crt_date, INTERVAL 1 MONTH); END WHILE; END | DELIMITER ;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.