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-14
Microsoft Escape Clauses
Microsoft Escape Clauses
ODBC/MX accepts Microsoft escape clauses and translates them into equivalent
SQL/MX clauses.
Stored Procedures
A stored procedure is a type of user-defined routine (UDR) that operates within a
database server and typically performs SQL operations on a database. ODBC/MX
supports stored procedures, with the following exceptions:
ODBC/MP does not support Result sets for stored procedures in java and
therefore cannot be converted to ODBC/MX procedures. They must be rewritten.
Returning codes are not supported.
ODBC/MX supports Stored procedures that return Result Sets and also supports
pointers to cursors on systems running J06.05 or later J-series RVUs and H06.16 and
later H-series RVUs.
For more information about stored procedures, see the SQL/MX Guide to Stored
Procedures in Java.
Table 5-18. Microsoft Escape Clauses
Microsoft Escape Clause SQL/MX Equivalent
{ d 'date-literal' } DATE 'date-literal'
{ t 'time-literal' } TIME 'time-literal'
{ ts 'timestamp-literal' } TIMESTAMP 'timestamp-literal'
1
{ oj join-expression } join-expression
{ INTERVAL sign
interval-string
interval-qualifier }
INTERVAL sign
interval-string
interval-qualifier
{ fn scalar-function } scalar-function
2
{ call
procedure-name... }
Supported in current release
{ escape 'escape-character' } Not supported in the current release.
{ [?=]call
procedure-name... }
Not supported in the current release.
1. ODBC syntax does not include nested joins, while SQL/MX does. ODBC/MX extends the Microsoft syntax for
an outer join.
2. Functions are controlled by SQLGetInfo. Only SQL/MX native functions are supported.










