SendODBCCommand (open)

Sends a query to an ODBC driver

Syntax

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

RECORD ARRAY FUNCTION SendODBCCommand(INTEGER transaction, STRING query)

Parameters

INTEGER transaction

ODBC transaction

STRING query

Query to send

Return value

RECORD ARRAY

Returned records, if exist

Description

Sends a single, raw SQL query to the ODBC driver, without any further processing. Selects the best matching types for the columns in the returned record array