Skip to content
Advertisement

how to create new table in mysql with date default value for current date?

I am trying the following code:

How can I make a default value for the date column? try the now(), but it is not valid..

Advertisement

Answer

You can use current_date

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement