Mercurial > dive4elements > river
comparison flys-aft/src/main/resources/sql/flys-common.properties @ 4096:82f5266f881b
Add code to build the difference of the W/Q values of two discharge tables.
flys-aft/trunk@3617 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 06 Jan 2012 17:16:46 +0000 |
parents | b3fc044f75ba |
children | 83c72bc07591 |
comparison
equal
deleted
inserted
replaced
4095:da9df3641578 | 4096:82f5266f881b |
---|---|
9 next.discharge.id = SELECT NEXTVAL('DISCHARGE_TABLES_ID_SEQ') AS discharge_table_id | 9 next.discharge.id = SELECT NEXTVAL('DISCHARGE_TABLES_ID_SEQ') AS discharge_table_id |
10 insert.dischargetable = INSERT INTO discharge_tables (id, gauge_id, description, kind, time_interval_id) \ | 10 insert.dischargetable = INSERT INTO discharge_tables (id, gauge_id, description, kind, time_interval_id) \ |
11 VALUES (:id, :gauge_id, :description, 0, :time_interval_id) | 11 VALUES (:id, :gauge_id, :description, 0, :time_interval_id) |
12 select.discharge.table.values = SELECT id, w, q FROM discharge_table_values WHERE table_id = :table_id | 12 select.discharge.table.values = SELECT id, w, q FROM discharge_table_values WHERE table_id = :table_id |
13 next.discharge.table.values.id = SELECT NEXTVAL('DISCHARGE_TABLE_VALUES_ID_SEQ') AS discharge_table_values_id | 13 next.discharge.table.values.id = SELECT NEXTVAL('DISCHARGE_TABLE_VALUES_ID_SEQ') AS discharge_table_values_id |
14 insert.discharge.table.value = INSERT INTO discharge_tables (id, table_id, w, q) VALUES (:id, :table_id, :w, :q) | 14 insert.discharge.table.value = INSERT INTO discharge_table_values (id, table_id, w, q) VALUES (:id, :table_id, :w, :q) |
15 delete.discharge.table.value = DELETE FROM discharge_table_values WHERE id = :id |