I need to update a column with datatype as timestamp
. I run the following query:
update job_info set ProcessStartTime = UNIX_TIMESTAMP(CURDATE()) where JobID=4;
But it updates with a value : 0000-00-00 00:00:00
What could be the reason for this? Is the query incorrect?