smog_at
24-11-2005, 11:13
Hey @all,
und zwar hätte ich folgendes Statement vor:
SELECT to_char(start_time+(8*3600), 'HH24:MI:SS') AS planned_time FROM timetable
Hier bekomme ich dann die Fehlermeldung:
SQL Fehler:
ERROR: operator does not exist: timestamp without time zone + integer
HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts.
In der Anweisung:
SELECT to_char(start_time+(8*3600), 'HH24:MI:SS') AS planned_time FROM timetable
Wie kann ich nun zu meiner Spalte "start_time" (Format timestamp without timezone) 8 Stunden hinzu zählen?
Kann mir bitte jemand helfen
Vielen Dank im Voraus
Lg smog_at
und zwar hätte ich folgendes Statement vor:
SELECT to_char(start_time+(8*3600), 'HH24:MI:SS') AS planned_time FROM timetable
Hier bekomme ich dann die Fehlermeldung:
SQL Fehler:
ERROR: operator does not exist: timestamp without time zone + integer
HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts.
In der Anweisung:
SELECT to_char(start_time+(8*3600), 'HH24:MI:SS') AS planned_time FROM timetable
Wie kann ich nun zu meiner Spalte "start_time" (Format timestamp without timezone) 8 Stunden hinzu zählen?
Kann mir bitte jemand helfen
Vielen Dank im Voraus
Lg smog_at