tww
.tww_app
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
ft_vw_tank_cleaning_update()
Parameters
Name
Type
Mode
IN
Definition
BEGIN UPDATE tww_od.structure_part SET fk_dataowner = NEW.fk_dataowner , fk_provider = NEW.fk_provider , fk_wastewater_structure = NEW.fk_wastewater_structure , identifier = NEW.identifier , last_modification = NEW.last_modification , remark = NEW.remark , renovation_demand = NEW.renovation_demand WHERE obj_id = OLD.obj_id; UPDATE tww_od.tank_cleaning SET obj_id = NEW.obj_id , gross_costs = NEW.gross_costs , kind = NEW.kind , year_of_replacement = NEW.year_of_replacement WHERE obj_id = OLD.obj_id; RETURN NEW; END;