I have a table in postgresql with field_date using the syntax "YYYY-MM-DD", I want to add a year to the field with the sentence:
table UPDATE SET date_field = DATEADD (YEAR, 1, date_field);
but postgres return:
ERROR: year column does not exist
I do not see what is wrong with the proposal
source
share