Login ProductsSalesSupportDownloadsAbout |
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 Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |