comparison etl/src/main/resources/sql/aft-common.properties @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-aft/src/main/resources/sql/aft-common.properties@7a68967ca72a
children
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 select.gewaesser = \
2 SELECT GEWAESSER_NR, NAME FROM SL_GEWAESSER
3 select.messstelle = \
4 SELECT NAME, MESSSTELLE_NR, STATIONIERUNG \
5 FROM MESSSTELLE \
6 WHERE GEWAESSER_NR = :GEWAESSER_NR
7 select.abflusstafel = \
8 SELECT ABFLUSSTAFEL_NR, \
9 ABFLUSSTAFEL_BEZ, \
10 strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \
11 strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \
12 PEGELNULLPUNKT, \
13 BFG_ID \
14 FROM ABFLUSSTAFEL \
15 WHERE MESSSTELLE_NR LIKE :number
16 select.tafelwert = \
17 SELECT TAFELWERT_NR AS id, WASSERSTAND AS w, ABFLUSS AS q FROM TAFELWERT \
18 WHERE ABFLUSSTAFEL_NR = :number
19 select.bfg.id.current = \
20 SELECT ABT.BFG_ID AS BFG_ID FROM ABFLUSSTAFEL ABT \
21 WHERE GUELTIG_VON IN ( \
22 SELECT min(GUELTIG_VON) FROM ABFLUSSTAFEL \
23 WHERE GUELTIG_VON IS NOT NULL AND GUELTIG_BIS IS NULL \
24 AND MESSSTELLE_NR LIKE :number) \
25 AND MESSSTELLE_NR LIKE :number

http://dive4elements.wald.intevation.org