Answer the question
In order to leave comments, you need to log in
How to make a substitution of the current date, by default?
I tried this: it date_now DATETIME() default NOW(),
gives an error.
Answer the question
In order to leave comments, you need to log in
only timestamp can take the value of current_timestamp, there is no such feature for the datetime field
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question