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.

ExpressionsCurSessionSpecifies, for each application, a global variable of type SessionObject thatcontains information about the current runtime environment, such aswhether the user's display supports color or what operating system isbeing used.IIDBMSerrorSpecifies the error code returned as a DBMS-specific error number. Thiserror code reflects the last SQL statement encountered for the currentframe or procedure's current DBMS connection. If no error occurred,IIDBMSerror is set to 0.For the associated generic error number, see the IIerrornumber systemvariable.IIerrornumberSpecifies the error code returned as a DBMS-independent error number.This error number reflects the last SQL statement encountered for thecurrent frame or procedure's current DBMS connection. If no erroroccurred, IIerrornumber is set to 0.For the associated DBMS-specific error code, see the IIDBMSerror systemvariable.IIrowcountSpecifies the number of rows affected by the last SQL statementencountered for the current frame or procedure's current DBMSconnection. After select statements, IIrowcount is the number of rowsselected. After insert statements, it is the number of rows inserted into thedatabase. After delete or update statements, it is the number of rowsaffected.OperatorsOpenROAD supports these operators:• Arithmetic operators• The String operator• Logical operators• Comparison (boolean) operators• The Like operator• The Is Null operatorThe following sections describe these operators.40 <strong>Programming</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!