EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #303 background imageLoading...
Page #303 background image
checking during serialized profile customization to succeed, the data types of
the columns in the iterator must be compatible with the data types of the
columns in the result table. See Java, JDBC, and SQL data types for a list of
compatible data types.
Usage notes
v An iterator declaration clause can appear anywhere in a Java program that a
Java class declaration can appear.
v When a named iterator declaration contains more than one pair of Java data
types and Java IDs, all Java IDs within the list must be unique. Two Java IDs are
not unique if they differ only in case.
Related concepts
“Data retrieval in SQLJ applications” on page 123
Related tasks
“Using a named iterator in an SQLJ application” on page 124
“Using a positioned iterator in an SQLJ application” on page 126
“Using scrollable iterators in an SQLJ application” on page 130
Related reference
“SQLJ clause” on page 281
SQLJ executable-clause
An executable clause contains an SQL statement or an assignment statement. An
assignment statement assigns the result of an SQL operation to a Java variable.
This topic describes the general form of an executable clause.
Syntax

context-clause
statement-clause
assignment-clause

Usage notes
v An executable clause can appear anywhere in a Java program that a Java
statement can appear.
v SQLJ reports negative SQL codes from executable clauses through class
java.sql.SQLException.
If SQLJ raises a run-time exception during the execution of an executable clause,
the value of any host expression of type OUT or INOUT is undefined.
Related concepts
“SQL statement execution in SQLJ applications” on page 112
Related reference
“SQLJ clause” on page 281
“SQLJ assignment-clause” on page 291
“SQLJ context-clause” on page 288
“SQLJ statement-clause” on page 288
Chapter 7. JDBC and SQLJ reference information 287
|
|

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability