DELETE FROM vn2008.Gastos WHERE Id_Gasto='' AND Gasto IS NULL AND isWithheld=FALSE; UPDATE vn.expense SET id='7002090000' WHERE id='7002009000'; UPDATE vn.expense SET id='7001090000' WHERE id='7001009000'; UPDATE vn.balanceNestTree SET expenseFk='7001090000' WHERE expenseFk='7001009000';