This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:functions:extract [2010/07/27 15:41] els |
dev:sql:functions:extract [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 8: | Line 8: | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | EXTRACT(date_tokens FROM date_column) | + | EXTRACT(date_tokens FROM date_expression) |
== date_tokens == | == date_tokens == | ||
Line 17: | Line 17: | ||
- | == date_column == | + | == date_expression == |
- | Required. A column that is declared as a date_class datatype. The date_class datatypes are any of the date or time oriented datatypes found in the list of [[dev:appendix:reference:datatypes|Omnidex datatypes]]. | + | Required. Any expression that returns a date-class datatype. Examples of date expressions are columns or functions that return a date-class datatype. The date_class datatypes are any of the date or time oriented datatypes found in the list of [[dev:appendix:reference:datatypes|Omnidex datatypes]]. |