Reputation: 3
Tried to use these two commands but both didn't work:
update planes set year = 2013 where year is null;
and
update planes set year = 2013 where year = null;
planes - table name
Upvotes: 0
Views: 72
Reputation: 745
You can unset the safe mode
SET SQL_SAFE_UPDATES = 0;
and then run your Query
Upvotes: 1