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-17
Timestamp Values with Fraction
If a value of the SQL fraction precision property is set to 9 using the SQL Fraction
Precision Value: drop-down list and a timestamp struct value is inserted from a C/C++
program into a column with type time or timestamp, the fraction field in the timestamp
struct is considered in nanoseconds.
Table 5-21 lists the sample values that can be inserted from a C/C++ program into the
required column type and their corresponding expected values in nanosecond.
87654 timestamp(1) or time(1) 0.0
7654 timestamp(1) or time(1) 0.0
654 timestamp(1) or time(1) 0.0
54 timestamp(1) or time(1) 0.0
4 timestamp(1) or time(1) 0.0
Table 5-21. Sample Values Inserted From a C/C++ Program and Their
Corresponding Expected Values in Nanosecond (page 1 of 2)
Value Specified in the
Fraction of the Client
Program Column Type
Expected Value in
Column of the SQL/MX
Table
987654321 timestamp(6) or time(6) 0.987654
87654321 timestamp(6) or time(6) 0.087654
7654321 timestamp(6) or time(6) 0.007654
654321 timestamp(6) or time(6) 0.000654
54321 timestamp(6) or time(6) 0.000054
4321 timestamp(6) or time(6) 0.000004
987654321 timestamp(5) or time(5) 0.98765
87654321 timestamp(5) or time(5) 0.08765
7654321 timestamp(5) or time(5) 0.00765
654321 timestamp(5) or time(5) 0.00065
54321 timestamp(5) or time(5) 0.00005
4321 timestamp(5) or time(5) 0.00000
987654321 timestamp(4) or time(4) 0.9876
87654321 timestamp(4) or time(4) 0.0876
7654321 timestamp(4) or time(4) 0.0076
654321 timestamp(4) or time(4) 0.0006
Table 5-20. Sample Values Inserted From a C/C++ Program and Their
Corresponding Expected Values in Microsecond (page 2 of 2)
Value Specified in the
Fraction of the Client
Program Column Type
Expected Value in the
Column of the SQL/MX
Table










