ODBC/MX Driver for Windows Manual for SQL/MX Release 3.2.1 (H06.26+, J06.15+)

Table Of Contents
ODBC/MX Conformance
HP NonStop ODBC/MX Driver for Windows691126-002
5-24
SQL Datetime Retrieval Property
SYSTEM_DEFAULT - Year is set to 0001.
MSDN_DEFAULT - Year is set to 1900.
If not specified, the default is SYSTEM_DEFAULT. This property is applicable only
when SQL/MP Datetime datatype is bound to SQL/MX datatypes such as DATE or
TIMESTAMP.
In the Data Access tab, set the SQL Datetime Retrieval property using the Microsoft
ODBC Data Source Administrator by selecting the respective Data Source
configuration.
Figure 5-2. Data source configuration for SQL Datetime Retrieval
If the value of SQL Datetime Retrieval is set to SYSTEM_DEFAULT, the behavior
of the driver is same as in earlier releases of SQL/MX.
For example:
Create a table in SQL/MP with Datetime column as “month to day”.
Insert the data “12–31” into the created table using SQL/MX or SQL/MP.