10.07.2015 Views

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

New SQL FunctionalityNew SQL FunctionalityNew SQL operations have been added, bringing <strong>Ingres</strong> SQL closer to the SQLstandards. Enhancements have been made to the internal performance thatconcern bit-wise operator support and miscellaneous functions.Order By/Group By ExpressionThe ORDER BY and GROUP BY statements now allow an expression instead ofbeing limited to column names. ORDER BY can also reference a column nameor expression that is not part of the select result list.CASE ExpressionAn ANSI SQL '92 compliant CASE expression has been added. The CASEexpression allows if-then-else testing anywhere that an expression is allowed.There are two syntax forms. The most general CASE expression is:CASE WHEN boolean-expression THEN expressionWHEN boolean-expression THEN expression...ELSE otherwise-expressionENDEach boolean-expression is evaluated in turn, and if TRUE, the correspondingthen expression is the CASE result. If all the boolean-expressions are of theform expr1 = expr2, a shorthand form can be used:CASE expr1 WHEN expr2 THEN expressionWHEN expr3 THEN expression...ELSE otherwise-expressionENDFeatures Introduced in <strong>Ingres</strong> II 2.5 215

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!