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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -