Example: lrd_ora8_handle_alloc

In the following example, lrd_handle_alloc_ora allocates and initializes an authentication handle. Note that only the qualifier is specified. The database type, Oracle, is omitted.

lrd_ora8_handle_alloc (OraEnv1, STMT, &OraStm1, 0);
lrd_ora8_stmt(OraStm1, "begin dbms_output.disable; end;", 1, 0, 0);
lrd_ora8_exec(OraSvc1, OraStm1, 1, 0, &uliRowsProcessed, 0, 0, 0, 0, 0);
lrd_handle_free(&OraStm1, 0);