10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Can Access a Database with DataStream ObjectsRequired OperationsIsDBHandleFieldSet to TRUE if the column's value is to be retrieved as a DBHandle and thetarget expression evaluates to a bitmap object or string object to beloaded using this DBHandleDefault: FALSEIsInsertTargetSet to TRUE if the column is used as a target for an insert statementDefault: FALSEIsSelectTargetSet to TRUE if the column is used as a target for a select statementDefault: FALSEIsUpdateTargetSet to TRUE if the column is used as a target for an update statementDefault: FALSEIsDeleteWhereSet to TRUE if the column is used as a where clause element for a deletestatementDefault: FALSEIsUpdateWhereSet to TRUE if the column is used as a where clause element for an updatestatementDefault: FALSEThe following operations are required to create a query object:1. Provide the parameters for building the select clause:a. Load the name of each database column into the ColumnNameattribute of DataStream's Columns array attribute.b. Supply the name of the target field or variable to the Expressionattribute of the Targets attribute of the Columns array attribute (forevery column selected from a database).c. Set the value of IsSelectTarget to TRUE for every column selected fromthe database.178 <strong>Programming</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!