I have a simple table in mysql with a record_id and a field of type date. How can I convert the following query so that it works on inserting.. it seems the date input is not recognized.
insert into test_table (record_id,date_test) values ('1','21-JUN-42')
I would appreciate any help or explanation.
PS: date_test is of type date.
Thank you
Do conversion before insertion