B
BlockNinja
Is there a way to pass parameters to a server via ODBC Pass-Through queries
in Access?
Example:
Doing a "select * from ThisTable" on a certain table in Oracle 10g at work
(or linking to it via Access) produces errors when viewing the table. Namely
the error in question is "Insufficient parallel query slaves available".
This can be easily fixed in a native Oracle session by issuing the following
commands:
ALTER SESSION SET PARALLEL_MIN_PERCENT=0;
SELECT * FROM ThisTable;
This changes the session so that if there aren't enough parallel query
slaves available to Oracle, the query will still run, which is the
recommended default by Oracle.
By default though, the PARALLEL_MIN_PERCENT session parameter is not set to
zero on ODBC connections to Oracle (at least on my installation), so Access
will fail miserably when trying to view the table through the Oracle ODBC
Connection. I would like to pass this session parameter to the server, but
cannot run two queries inside of the same Pass-Through query. Any ideas?
in Access?
Example:
Doing a "select * from ThisTable" on a certain table in Oracle 10g at work
(or linking to it via Access) produces errors when viewing the table. Namely
the error in question is "Insufficient parallel query slaves available".
This can be easily fixed in a native Oracle session by issuing the following
commands:
ALTER SESSION SET PARALLEL_MIN_PERCENT=0;
SELECT * FROM ThisTable;
This changes the session so that if there aren't enough parallel query
slaves available to Oracle, the query will still run, which is the
recommended default by Oracle.
By default though, the PARALLEL_MIN_PERCENT session parameter is not set to
zero on ODBC connections to Oracle (at least on my installation), so Access
will fail miserably when trying to view the table through the Oracle ODBC
Connection. I would like to pass this session parameter to the server, but
cannot run two queries inside of the same Pass-Through query. Any ideas?