use ApDB;
set sql_safe_updates = 0;
set sql_safe_updates = 1;