generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Labels
Description
Is your feature request related to a problem?
TIMESTAMPADD and TIMESTAMPDIFF functions in mysql have unit as an argument. See also EXTRACT function.
What solution would you like?
A new data type: UNIT:
- Not storable and not returnable to user.
- Not comparable and not castable.
- Can store multiple units inside, see
EXTRACT. - For use in few datetime functions only.
What alternatives have you considered?
Use a string instead.