![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » Date and Time Functions » EXTRACT |
EXTRACT(<ValueToExract> FROM <DateTimeExpression>) EXTRACT(<ValueToExract>, <DateTimeExpression>) <ValueToExtract> = YEAR MONTH WEEK DAYOFWEEK DAYOFYEAR DAY HOUR MINUTE SECOND MSECOND <DateTimeExpression> = DATE TIME TIMESTAMP
INTEGER
Portion | Types |
YEAR | DATE TIMESTAMP |
MONTH | DATE TIMESTAMP |
WEEK | DATE TIMESTAMP |
DAYOFWEEK | DATE TIMESTAMP |
DAYOFYEAR | DATE TIMESTAMP |
DAY | DATE TIMESTAMP |
HOUR | TIME TIMESTAMP |
MINUTE | TIME TIMESTAMP |
SECOND | TIME TIMESTAMP |
MSECOND | TIME TIMESTAMP |
SELECT * FROM Transactions WHERE EXTRACT(YEAR FROM TransDateTime) = 2006
Deviation | Details |
None |
This web page was last updated on Friday, January 31, 2025 at 08:42 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |