Mercurial > dive4elements > river
comparison flys-aft/src/main/resources/sql/flys-common.properties @ 4109:8ba11e13ae8a
AFT-Import: Insert
new discharge tables as 'Historische Abflusstafel' kind.
flys-aft/trunk@3956 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 08 Feb 2012 09:43:12 +0000 |
parents | 83c72bc07591 |
children | a310aceb2e51 |
comparison
equal
deleted
inserted
replaced
4108:4c2b99d6af6c | 4109:8ba11e13ae8a |
---|---|
6 select.timeintervals = SELECT id, start_time, stop_time FROM time_intervals | 6 select.timeintervals = SELECT id, start_time, stop_time FROM time_intervals |
7 next.timeinterval.id = SELECT NEXTVAL('TIME_INTERVALS_ID_SEQ') AS time_interval_id | 7 next.timeinterval.id = SELECT NEXTVAL('TIME_INTERVALS_ID_SEQ') AS time_interval_id |
8 insert.timeinterval = INSERT INTO time_intervals (id, start_time, stop_time) VALUES (:id, :start_time, :stop_time) | 8 insert.timeinterval = INSERT INTO time_intervals (id, start_time, stop_time) VALUES (:id, :start_time, :stop_time) |
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, 1, :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_table_values (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 | 15 delete.discharge.table.value = DELETE FROM discharge_table_values WHERE id = :id |
16 select.gauge.discharge.tables = SELECT dt.id AS id, dt.description AS description, ti.start_time AS start_time, ti.stop_time AS stop_time \ | 16 select.gauge.discharge.tables = SELECT dt.id AS id, dt.description AS description, ti.start_time AS start_time, ti.stop_time AS stop_time \ |