Contents | What's New | Quick Links
Introduction
Software Installation
Concepts and Design
Designing Applications
Omnidex Environments
SQL Reference
Omnidex API's
Utilities
Interfaces
Performance Guide
Troubleshooting Guide
Appendix
The DECODE function is similar to CASE. DECODE handles simple IF - THEN - ELSE logic at a select-item level.
DECODE is an Oracle extension to the SQL2 standard that Omnidex supports. It is available through ODBC and JDBC.
To use the DECODE function in ODXSQL, append the SQL_SYNTAX=OMNIDEX_PLUS WITH option to the SQL statement.
Syntax
Example
Commands
Functions
DECODE( condition-expression , scalar-expression [, scalar-expression])
or
DECODE( scalar-expression-1 , scalar-expression-2 , scalar-expression-3 [, scalar-expression-4 ] )
top
Dynamic Information Systems Corporation - Omnidex Version 3.8 Build 6 J15.03-Copyright © 2003
DISC | Documentation Home