ODBC/MX Driver for Windows Manual for SQL/MX Release 3.2.1 (H06.26+, J06.15+)
Table Of Contents
- HP NonStop ODBC/MX Driver for Windows
- Legal Notices
- Contents
- What’s New in This Manual
- About This Manual
- 1 ODBC/MX Client Overview
- 2 Installation of the ODBC/MX Client
- 3 Configuring Client Data Sources on Windows
- Accessing the Microsoft ODBC Data Source Administrator from a Client Workstation
- Adding New Client Data Sources
- Reconfiguring Client Data Sources
- Configuring Client Data Sources using Connection String
- Configuring Client Data Sources for Update Operations
- Configuring Driver for IPV6
- Removing Client Data Sources
- Tracing Client Data Sources
- 4 Module File Caching (MFC)
- 5 ODBC/MX Conformance
- ODBC API Functions
- SQL Conformance Level
- SQL Scalar Functions
- ODBC Data Types
- Unsigned Data Types
- Partial Date/Time Values
- SQL/MP Data Types and ODBC/MX Equivalents
- Microsoft Escape Clauses
- Stored Procedures
- Transactions and Cursor Behavior with Multiple Statements
- Timestamp Values with Fraction
- SQL Interval Insertion Property
- SQL Datetime Retrieval Property
- 6 ODBC/MX Messages
- Glossary
- Index

ODBC/MX Conformance
HP NonStop ODBC/MX Driver for Windows—691126-002
5-21
SQL Interval Insertion Property
Table 5-24 lists the values that the fraction field selects for inserting into the time and
timestamp columns when the SQL Fraction Precision Value: is set to 6 or 9.
Table 5-24. Fraction field values with SQL Fraction Precision Value: set to 6 or 9
SQL Interval Insertion Property
The SQL Interval Insertion property includes zeroes at the beginning or end of an
interval datatype for micro or nano seconds. The SQL Interval Insertion has two
values:
SYSTEM_DEFAULT - Trailing zeroes are added to the fraction. For example,
0.1234 changes to 0.123400.
MSDN_DEFAULT - Leading zeroes are added to the fraction. For example, 0.1234
changes to 0.001234.
If not specified, the default is SYSTEM_DEFAULT.
Note. The ODBC programs can insert the time and timestamp values into the time
and timestamp columns of an SQL/MX table using the FRACTION_STRUCT structure.
The structure fields are:
struct FRACTION_STRUCT {
SQLUINTEGER day,
SQLUINTEGER hour,SQLUINTEGER minute,
SQLUINTEGER second,
SQLUINTEGER fraction
};
Table
Precision/
Fraction 6 5 4 3 2 1
123456 123456 12345 1234 123 12 1
12345 012345 12345 1234 123 12 1
1234 001234 01234 1234 123 12 1
123 000123 00123 0123 123 12 1
12 000012 00012 0012 012 12 1
1 000001 00001 0001 001 01 1










