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
for MYSQL try this
INSERT INTO table1(myDatetimeField)VALUES(STR_TO_DATE('12-01-2014 00:00:00','%m-%d-%Y %H:%i:%s');
myDatetimeField
verification-
select * from table1 output- datetime= 2014-12-01 00:00:00