I tried running below code in sql command, but the code line start_date date DEFAULT CURRENT_DATE had issues, got no idea why. I needed only date.
But if I
The documentation is quite clear that this works for datetime columns but not date columns:
This means, for example, that you cannot set the default for a date column to be the value of a function such as
NOW()orCURRENT_DATE. The exception is that you can specifyCURRENT_TIMESTAMPas the default forTIMESTAMPandDATETIMEcolumns.
If you really have your heart set on ignoring the time component, you will have to use a trigger to set the value, rather than a default constraint.