How do you set a default value for a MySQL Datetime column?
Asked 07 September, 2021
Viewed 1.9K times
  • 58
Votes

How do you set a default value for a MySQL Datetime column?

In SQL Server it's getdate(). What is the equivalant for MySQL? I'm using MySQL 5.x if that is a factor.

26 Answer