SQL/MX 2.x Reference Manual (H06.04+)

HP NonStop SQL/MX Reference Manual540440-003
1-1
1 Introduction
NonStop SQL/MX allows you to use SQL/MX DML statements, which comply closely to
ANSI SQL:1999, to access SQL/MP and SQL/MX databases.
This introduction describes:
SQL/MX Language on page 1-1
MXCI SQL/MX Conversational Interface on page 1-2
Security on page 1-5
Data Consistency and Access Options on page 1-7
Database Integrity and Locking on page 1-10
Transaction Management on page 1-12
Partition Management on page 1-23
Internationalization on page 1-23
Using NonStop SQL/MX to Access SQL/MP Databases on page 1-23
ANSI Compliance and SQL/MX Extensions on page 1-32
SQL/MX Error Messages on page 1-35
Other sections of this manual describe the syntax and semantics of individual
statements, commands, and language elements.
SQL/MX Language
The SQL/MX language consists of statements, commands, and other language
elements that you can use to access SQL/MP and SQL/MX databases. For more
information on the SQL/MP language, see the SQL/MP Reference Manual.
You can run SQL/MX statements from the SQL/MX conversational interface, MXCI, or
embed SQL/MX statements in programs written in C, C++, COBOL, or Java. For more
information on MXCI, see MXCI SQL/MX Conversational Interface on page 1-2. For
descriptions of individual SQL/MX statements, see Section 2, SQL/MX Statements.
Some SQL/MX statements can be used only within embedded SQL programs and
cannot be run in an MXCI session. For descriptions of these statements, see
Section 3, Embedded-Only SQL/MX Statements. For more information on embedding
SQL/MX statements in programs, see the SQL/MX Programming Guide for C and
COBOL.
MXCI commands are SQL/MX extensions that typically affect attributes of an MXCI
session. These commands can be run only in MXCI, with a few exceptions. For more
information, see Section 4, MXCI Commands.
SQL/MX language elements are part of statements and commands and include data
types, expressions, functions, identifiers, literals, and predicates. For more information,
see Section 6, SQL/MX Language Elements. For more information on specific
functions and expressions, see Section 9, SQL/MX Functions and Expressions.