MINUTE
Jump to navigation
Jump to search
MINUTE(d) | ||
---|---|---|
Engine | OK | Alternative |
ingres | No | EXTRACT(DAY from d) |
mysql | Yes | EXTRACT(DAY from d) |
oracle | No | TO_CHAR(d,'DD') |
postgres | No | EXTRACT(DAY from d) |
sqlserver | Yes | DATEPART(DAY,d) |
MINUTE
MINUTE allows you to retrieve the minute from a date.
MINUTE(d)
In this example you get the minute from the date field whn.
SELECT EXTRACT(MONTH from whn) AS v
,whn
,wht
FROM eclipse
SELECT EXTRACT(MONTH from whn) AS v
,whn
,wht
FROM eclipse
SELECT TO_CHAR(whn,'MONTH') AS v
,whn
,wht
FROM gisq.eclipse
SELECT MINUTE(whn) AS v, whn, wht
FROM eclipse
See also
Language: | English • Deutsch |
---|