Enterprise Edition Home
|
Express Edition Home
|
Previous Page
|
Next Page
SPL Statements
In This Chapter
CALL
CASE
CONTINUE
DEFINE
Referencing TEXT and BYTE Variables
Redeclaration or Redefinition
Default Value
CURRENT
USER
TODAY
BYTE and TEXT
SITENAME or DBSERVERNAME
Subset of Complex Data Types (IDS)
Declaring Collection Variables (IDS)
Declaring ROW Variables (IDS)
Declaring Opaque-Type Variables (IDS)
Declaring Variables LIKE Columns
Declaring Variables as the PROCEDURE Type
Declaring Variables for BYTE and TEXT Data
EXIT
FOR
Using the TO Keyword to Define a Range
Specifying Two or More Ranges in a Single FOR Statement
Using an Expression List as the Range
Mixing Range and Expression Lists in the Same FOR Statement
FOREACH
Using a SELECT ... INTO Statement
Using Hold Cursors
Updating or Deleting Rows Identified by Cursor Name
Using Collection Variables (IDS)
Restrictions
Examples
Modifying Elements in a Collection Variable
IF
ELIF Clause
ELSE Clause
Conditions in an IF Statement
Subset of SPL Statements Allowed in the IF Statement List
SQL Statements Not Valid in an IF Statement
LET
Using a SELECT Statement in a LET Statement
Calling a Function in a LET Statement
ON EXCEPTION
Placement of the ON EXCEPTION Statement
Continuing Execution After an Exception Occurs
RAISE EXCEPTION
RETURN
Returning Values from Another Database (IDS)
External Functions and Iterator Functions (IDS)
SYSTEM
Executing the SYSTEM Statement on UNIX
Executing the SYSTEM Statement on Windows
Setting Environment Variables in SYSTEM Commands
TRACE
TRACE ON
TRACE OFF
TRACE PROCEDURE
Displaying Expressions
Example Showing Different Forms of TRACE
Looking at the Traced Output
WHILE
Enterprise Edition Home
|
Express Edition Home
| [
Top of Page
|
Previous Page
|
Next Page
|
Contents
|
Index
]