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-25
SQL Datetime Retrieval Property
Retrieve the data from the SQL/MP Datetime datatype “month to day” column
from ODBC/MX driver by binding to DATE. The retrieved value is 0001-12-
31.
If the value of SQL Datetime Retrieval is set to MSDN_DEFAULT, there is a
change in the behavior of the driver when compared to 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.
Retrieve the data from the SQL/MP Datetime datatype “month to day” column
from ODBC/MX driver by binding to DATE. The retrieved value is 1900-12-
31.