When used in addition to DETECTDATE, also specifies the explicit data format to recognize in character input host variables.
DATE={ODBC | ISO | USA | EUR | JIS}
Default: | ODBC (ISO 8601 default format) |
For input host parameters, requires that the DETECTDATE SQL compiler directive option is also set.
Used at compile time: | Yes |
Behavior at run time: | Source file |
See Scope - OpenESQL SQL Compiler Directive Options for more information.
DATE can be used with the DATEDELIM directive to specify an alternative delimiter that separates day, month, and year components.
DATE, with or without DATEDELIM, changes the display format of output host variables as specified.
When you specify both DATE and DETECTDATE, OpenESQL uses DATE (with or without DATEDELIM) to also recognize date values in your input host variables. See DETECTDATE for more information.