SendOCITypedCommand (open)

Sends a query to an Oracle database, and requested specific return types

Syntax

LOADLIB "wh::dbase/oci.whlib";

RECORD ARRAY FUNCTION SendOCITypedCommand(INTEGER transaction, STRING query, INTEGER ARRAY types)

Parameters

INTEGER transaction

OCI transaction

STRING query

Query to send

INTEGER ARRAY types

An integer array, containing a TypeId for every returned column indicating the requested type

Return value

RECORD ARRAY

Returned records, if exist

Description

Sends a single, raw SQL query to the Oracle database, without any further processing