Project3 date column ds update query
In project 3, i have data sets for job_data. In ds column we have date format as MM/DD/YYYY.I have created the table in database with ds column in varchar datatype. If i want to convert the date into YYYY-MM-DD format, I used the query update jobdata set ds = dateformat(strtodate(ds, '%m/%d/%y' ), '%y-%m-%d'); But am getting an error below, I also tried the query with where condition, but still am getting an error. Could you please let me know how can i update the date in mysql? " update jobdata set ds = dateformat(strtodate(ds, '%m/%d/%y' ), '%y-%m-%d') Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 0.000 sec"
