UPDATE {bd}.{tabla} SET estado=0, estado_global=0 WHERE id='{id}';
SELECT '{tabla}'  AS tabla, '{id}' as id;
