useQueryRDBDirect()

The function checks if RDB (Oracle) is used for queries.

Synopsis

bool useQueryRDBDirect();

Parameters

-

Return value

The function returns TRUE when the config entry "queryRDBdirect = 1" is used in the WinCC OA project and RDB (Oracle) is used for the queries.

Description

The function checks if RDB (Oracle) is used for queries.

The example checks if ../HDB_RDB_Parallel/HDB_RDB_Parallel-04.html#HDB_RDB_Parallel-04__queryRDBDirect is used for queries and outputs the result.

main(mapping event)
{
   bool ret = useQueryRDBDirect();
   DebugN("RDB queries are used:", ret);
}

Assignment

Miscellaneous functions

Availability

CTRL