10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming 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.

ContentsChapter 1: Introduction 13In This <strong>Guide</strong> ...................................................................................................................... 13Intended Audience .............................................................................................................. 14Database-related Examples ............................................................................................. 14Conventions ....................................................................................................................... 15Documentation ................................................................................................................... 16Your Support Options........................................................................................................... 17Chapter 2: Language Elements 19OpenROAD Names............................................................................................................... 19Dynamic Names ............................................................................................................ 20Name Resolution............................................................................................................ 21Variables............................................................................................................................ 25Simple Variables ............................................................................................................ 26Reference Variables........................................................................................................ 28Dynamic Array Variables ................................................................................................. 31Field and Menu Item Variables ......................................................................................... 33How You Can Initialize Variables ...................................................................................... 34Data Types......................................................................................................................... 35Nulls ................................................................................................................................. 35Expressions ........................................................................................................................ 36Literals......................................................................................................................... 37Named Constants .......................................................................................................... 38System Variables ........................................................................................................... 39Operators ..................................................................................................................... 40Variables in Expressions.................................................................................................. 47Procedures in Expressions ............................................................................................... 47Methods in Expressions................................................................................................... 48Nulls in Expressions ....................................................................................................... 49Expressions in SQL Statements........................................................................................ 50System-defined Functions..................................................................................................... 50Scalar Functions ............................................................................................................ 51Aggregate Functions....................................................................................................... 61The Ifnull Function ......................................................................................................... 63Dbmsinfo Function ......................................................................................................... 64Field Function................................................................................................................ 65Comments ......................................................................................................................... 65Contents iii

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

Saved successfully!

Ooh no, something went wrong!