I want to save in a database table the month and day part of a date. That will be fixed regardless of the actual year so I don't need to save the year as well.
I could define a type like: char(5) and save it as: 01-01 but this would not "protect" from garbage strings.
Is there a way to define it better? E.g. does an enum for month and day make sense? (though still something like 02-30 could be defined which is of course meaningless)