![]()
![]() ![]() ![]() ![]() ![]() ![]() ![]() Documentation Top ![]() Global Index ![]() Reference Manual ![]() ![]() ![]() Developer's Guide ![]() ![]() Tuning Cloudscape ![]() ![]() |
EXTRACTEXTRACT extracts the specified field from a date/time expression as an integer or double-precision value. SyntaxThe fields available for extraction depend on the date/time type that EXTRACT is applied to, as listed in Table 1-3, Extractable Fields in Date/Time Data Types
The result type of EXTRACT is INTEGER except when extracting SECOND from a TIMESTAMP. In the current release, the result type of extracting SECOND from a TIMESTAMP is DOUBLE PRECISION. The result type of extracting SECOND from a TIME is an INT. Example | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() | ![]() ![]() Cloudscape Version 3.0 ![]() For technical support, go to: www.cloudscape.com and click Support. Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved. |