salix/db/versions/10862-navyHydrangea/00-firstScript.sql

12 lines
296 B
SQL

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';