I have a table with a DATETIME column. I would like to SELECT this datetime value and INSERT it into another column.
I did this (note: \'2011-12-18 13:17:17\' is the
According to MySQL documentation, you should be able to just enclose that datetime string in single quotes, ('YYYY-MM-DD HH:MM:SS') and it should work. Look here: Date and Time Literals
So, in your case, the command should be as follows:
UPDATE products SET former_date='2011-12-18 13:17:17' WHERE id=1