Code: Alles auswählen.
SELECT felder
INTO zeile
FROM tabelle
WHERE timestamp >= stichtag
ORDER BY timestamp.
EXIT.
ENDSELECT.
Code: Alles auswählen.
SELECT felder
INTO zeile
FROM tabelle
WHERE timestamp <= stichtag
ORDER BY timestamp DESCENDING.
EXIT.
ENDSELECT.