teichmann@5258: next.gauge.id = \
teichmann@5258:     SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id FROM DUAL
teichmann@5258: next.timeinterval.id = \
teichmann@5258:     SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id FROM DUAL
teichmann@5258: next.discharge.id = \
teichmann@5258:     SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id FROM DUAL
teichmann@5258: next.discharge.table.values.id = \
teichmann@5258:     SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id FROM DUAL