diff flys-aft/src/main/resources/sql/flys-common.properties @ 4091:a91c7e982c32

Make W/Q values from AFT and FLYS loadable. flys-aft/trunk@3601 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 05 Jan 2012 16:41:26 +0000
parents d556e29592f5
children b3fc044f75ba
line wrap: on
line diff
--- a/flys-aft/src/main/resources/sql/flys-common.properties	Wed Jan 04 17:59:26 2012 +0000
+++ b/flys-aft/src/main/resources/sql/flys-common.properties	Thu Jan 05 16:41:26 2012 +0000
@@ -9,4 +9,4 @@
 next.discharge.id = SELECT NEXTVAL('DISCHARGE_TABLES_ID_SEQ') AS discharge_table_id
 insert.dischargetable = INSERT INTO discharge_tables (id, gauge_id, description, kind, time_interval_id) \
                         VALUES (:id, :gauge_id, :description, 0, :time_interval_id)
-
+select.discharge.table.values = SELECT id, w, q FROM discharge_table_values WHERE table_id = :table_id

http://dive4elements.wald.intevation.org