SECOND/de
Jump to navigation
Jump to search
SECOND(d) | ||
---|---|---|
DBMS | OK | Alternative |
Ingres | Ja | EXTRACT(SECOND from d) |
MySQL | Ja | EXTRACT(SECOND from d) |
Oracle | Nein | TO_CHAR(d,'SS') |
PostgreSQL | Nein | EXTRACT(SECOND from d) |
SQL Server | Ja | DATEPART(SECOND,d) |
SECOND
SECOND ermittelt die Sekunde aus einem Datums-/Zeitwert.
SECOND(d)
In diesem Beispiel wird die Sekunde aus dem whn
-Datum ermittelt.
SELECT EXTRACT(SECOND from whn) AS v
,whn
,wht
FROM eclipse
SELECT TO_CHAR(whn,'SECOND') AS v
,whn
,wht
FROM gisq.eclipse
SELECT SECOND(whn) AS v, whn, wht
FROM eclipse
Siehe auch
Language: | [[:{{#invoke:String|sub|SECOND/de
|1 |Expression error: Unrecognized punctuation character "{".}}|English]] |
---|