date - updating day in mysql -
accidentally server date set wrong value 1 day. have correctly set date now. want change date entries made on day. write query change day 1 of dates in query table on 31st jan 2013.
i have written following query
update query set date= date_add(date, interval 1 day) date="2013-01-31";
but not executing correctly
your code correct. need following change.
update query set date= date_add(date, interval 1 day) date(date)="2013-01-31";
i hope works you.
Comments
Post a Comment