SQL/MX 3.2 Reference Manual (H06.25+, J06.14+)

SQL/MX Statements
HP NonStop SQL/MX Release 3.2 Reference Manual—691117-001
2-4
Data Manipulation Language (DML) Statements
Data Manipulation Language (DML) Statements
Use these DML statements to delete, insert, select, or update rows in one or more
tables:
For more information about DELETE, INSERT, SELECT, and UPDATE statement, see
individual entries for these statements.
Transaction Control Statements
Use these statements to specify user-defined transactions and to set attributes for the
next transaction:.
Prepared SQL Statements
Use these statements to compile an SQL statement and then execute the statement
any number of times within the current session:
Embedded-Only SQL/MX Statements
For more information on SQL/MX statements that you can use only in embedded SQL
programs, see Section 3, Embedded-Only SQL/MX Statements
.
DELETE Statement on page 2-150 Deletes rows from a table or view.
INSERT Statement
on page 2-217 Inserts data into tables and views.
SELECT Statement
on page 2-255 Retrieves data from tables and views.
SELECT ROW COUNT Statement
on page 2-288
Retrieves the count of rows from the
SQL/MX table.
UPDATE Statement
on page 2-310 Updates values in columns of a table or view.
BEGIN WORK Statement
on
page 2-44
Starts a transaction.
COMMIT WORK Statement
on
page 2-49
Commits changes made during a transaction and
ends the transaction.
ROLLBACK WORK Statement
on
page 2-253
Undoes changes made during a transaction and
ends the transaction.
SET TRANSACTION Statement
on
page 2-301
Sets attributes for the next SQL transaction—the
isolation level, access mode, size of the diagnostics
area, and whether to automatically commit database
changes.
EXECUTE Statement
on page 2-176 Executes an SQL statement previously compiled by
the PREPARE statement.
PREPARE Statement
on page 2-236 Compiles an SQL statement for later execution with
EXECUTE.