Esta es la instruccion que ejecuto directamente desde delphi:
Código SQL
[-]update facturacion f set f.base_imponible=f.cloaca where (extract(month from f.fecha)=:x_mes) and (extract(year from f.fecha)=:x_year) and (f.tipo_factura='Consumo') and (f.tipo_tarifa='Residencial');