Jump to main content
Product Documentation
Resources
Customer Support
Software Academy
Community Forums
HCL Informix V14.10
HCL Informix®
V
14.10
documentation
Product overview
Installing
Administering
Migrating and upgrading
Client APIs and tools
Embedding
Informix®
Extending
Informix®
Data warehousing
Designing databases
JSON compatibility
Security
SQL programming
Troubleshooting
HCL Informix®
Informix PDF guides
Search
Home
SQL programming
You can use the
HCL Informix®
implementation of the SQL language to develop applications for
Informix®
database servers.
Guide to SQL: Syntax
SPL statements
These topics describe Stored Procedure Language (
SPL
) statements, which you use to write SPL routines. You can store these routines in the database as user-defined routines (UDRs).
TRACE
TRACE OFF
SQL programming
You can use the
HCL Informix®
implementation of the SQL language to develop applications for
Informix®
database servers.
Guide to SQL: Syntax
Overview of SQL syntax
These topics provide an overview about how to use the
SQL
statements,
SPL
statements, and syntax segments.
SQL Statements
SPL statements
These topics describe Stored Procedure Language (
SPL
) statements, which you use to write SPL routines. You can store these routines in the database as user-defined routines (UDRs).
Debugging SPL routines
You can use a Routine Debugger client application to identify and analyze logical errors in an SPL routine.
<<
Label
>> statement
Use the <<
label
>> statement of SPL to declare a statement label or a loop label.
CALL
CASE
Use the CASE statement when program execution needs to take exactly one among multiple branches, depending on the value of an SPL variable or of a simple expression. The CASE statement is a logical alternative to the IF statement.
CONTINUE
DEFINE
EXIT
FOR
FOREACH
Use the FOREACH statement to declare a direct cursor that can select and manipulate more than one row from a the result set of a query, or more than one element from a collection.
GOTO
IF
LET
LOOP
ON EXCEPTION
RAISE EXCEPTION
RETURN
SYSTEM
TRACE
TRACE ON
TRACE OFF
TRACE PROCEDURE
Displaying Expressions
Example Showing Different Forms of TRACE
Looking at the Traced Output
WHILE
Use the WHILE statement to establish a loop with variable end conditions.
Data types and expressions
These topics describe the data types and expressions that
Informix®
supports.
Other syntax segments
These topics describe
syntax segments
, which are language elements, such as database object names or optimizer directives, that appear as a subdiagram reference in the syntax diagrams of some SQL or SPL statements.
Built-In Routines
Appendixes
Guide to SQL: Reference
The
Informix® Guide to SQL: Reference
contains the reference information for the system catalog tables, data types, and environment variables of the
HCL Informix®
dialect of the SQL language, as implemented in
HCL Informix®
.
These topics also include information about the stores_demo, sales_demo, and superstore_demo databases that are included with
HCL Informix®
.
Guide to SQL: Tutorial
The
Informix® Guide to SQL: Tutorial
shows how to use basic and advanced structured query language (SQL) to access and manipulate the data in your databases.
It discusses the data manipulation language (DML) statements as well as triggers and stored procedure language (SPL) routines, which DML statements often use.
TRACE OFF
If you specify the keyword OFF, all tracing is turned off.
Rate this topic
5 stars
4 stars
3 stars
2 stars
1 star