gummela
Neuer Benutzer
- Beiträge
- 2
SELECT
to_char(greif_termin,'dd.mm.yyyy') as datum,
psk_lhm_id as packstück,
count(*) as anz_picks_pro_psk,
lok_nr as lagerzone,
CASE to_char(greif_termin,'hh24:mi')
WHEN to_date(to_char(greif_termin, 'hh24:mi'), 'hh24:mi')
between to_date('06:30', 'hh24:mi')and to_date('14:30', 'hh24:mi') THEN 'F'
WHEN to_date(to_char(greif_termin, 'hh24:mi'), 'hh24:mi')
between to_date('14:30', 'hh24:mi')and to_date('22:30', 'hh24:mi') THEN 'S'
ELSE 'N'
END
FROM PICKET
Fehlermeldung:
ORA-00905: Schlüsselwort fehlt
00905. 00000 - "missing keyword"
to_char(greif_termin,'dd.mm.yyyy') as datum,
psk_lhm_id as packstück,
count(*) as anz_picks_pro_psk,
lok_nr as lagerzone,
CASE to_char(greif_termin,'hh24:mi')
WHEN to_date(to_char(greif_termin, 'hh24:mi'), 'hh24:mi')
between to_date('06:30', 'hh24:mi')and to_date('14:30', 'hh24:mi') THEN 'F'
WHEN to_date(to_char(greif_termin, 'hh24:mi'), 'hh24:mi')
between to_date('14:30', 'hh24:mi')and to_date('22:30', 'hh24:mi') THEN 'S'
ELSE 'N'
END
FROM PICKET
Fehlermeldung:
ORA-00905: Schlüsselwort fehlt
00905. 00000 - "missing keyword"