IBM Informix Guide to SQL: Syntax
Collapsed Introduction
Collapsed Overview of SQL Syntax
Collapsed SQL Statements
Collapsed SPL Statements
Expanded Data Types and Expressions
In This Chapter
Scope of Segment Descriptions
Use of Segment Descriptions
Collection Subquery
Collapsed Condition
Collapsed Data Type
DATETIME Field Qualifier
Expanded Expression
Rules for the Target Data Type
Examples of Cast Expressions
The Keyword NULL in Cast Expressions
Using Dot Notation
Using Subscripts on Character Columns
Using Rowids (IDS)
Using Smart Large Objects (IDS)
CASE Expressions
NVL Function
DECODE Function
Quoted String
Literal Number
USER Operator
CURRENT_ROLE Operator
DEFAULT_ROLE Operator
DBSERVERNAME and SITENAME Operators
TODAY Operator
CURRENT Operator
Non-default Time Zones for CURRENT or TODAY (XPS)
Literal DATETIME
Literal INTERVAL
UNITS Operator
NEXTVAL and CURRVAL Operators (IDS)
Literal Row (IDS)
Literal Collection (IDS)
ROW Constructors
Collection Constructors
Algebraic Functions
CARDINALITY Function (IDS)
DBINFO Function
Encryption and Decryption Functions
DECRYPT_CHAR Function
DECRYPT_BINARY Function
ENCRYPT_AES Function
ENCRYPT_TDES Function
GETHINT Function
Exponential and Logarithmic Functions
HEX Function
Length Functions
IFX_REPLACE_MODULE Function (IDS, C)
Smart-Large-Object Functions (IDS)
Time Functions
Trigonometric Functions
String-Manipulation Functions
Case-Conversion Functions
IFX_ALLOW_NEWLINE Function
User-Defined Functions
Types of Aggregate Expressions
Subset of Expressions Valid in an Aggregate Expression
Including or Excluding Duplicates in the Row Set
AVG Function
Overview of COUNT Functions
COUNT(*) Function
COUNT DISTINCT and COUNT UNIQUE Functions
COUNT column Function
Comparison of the Different COUNT Functions
MAX Function
MIN Function
SUM Function
RANGE Function
STDEV Function
VARIANCE Function
Error Checking in ESQL/C
Summary of Aggregate Function Behavior
User-Defined Aggregates (IDS)
INTERVAL Field Qualifier
Collapsed Literal Collection
Collapsed Literal DATETIME
Literal INTERVAL
Collapsed Literal Number
Collapsed Literal Row
Collapsed Quoted String
Collapsed Relational Operator
Collapsed Other Syntax Segments
Collapsed Appendix A. Reserved Words for IBM Informix Dynamic Server
Collapsed Appendix B. Reserved Words for IBM Informix Extended Parallel Server
Appendix C. Accessibility
Notices
Index