hi.
i'd like to execute several statements on a variety of different tablespaces using only one user with "superprivileges" or whatever. (database is oracle 9i)
my dream-solution would be a "role"/user change issued from a jdbc call or a (temporary) change of the default-tablespace of my executing user.
the idea is to execute the same queries on different tablespaces and to prevent rewriting the queries for this scenario. the queries itself will create temporary tables and write their results in the tablespaces were they were executed.
this feature is desperatly needed to use only one connection (and one user) to the database.
a work-around might be alter session set current schema 'xyz' were 'xyz' represents my tablespaces.
any other hints, suggestions, comments welcome.
regards
chenn
i'd like to execute several statements on a variety of different tablespaces using only one user with "superprivileges" or whatever. (database is oracle 9i)
my dream-solution would be a "role"/user change issued from a jdbc call or a (temporary) change of the default-tablespace of my executing user.
the idea is to execute the same queries on different tablespaces and to prevent rewriting the queries for this scenario. the queries itself will create temporary tables and write their results in the tablespaces were they were executed.
this feature is desperatly needed to use only one connection (and one user) to the database.
a work-around might be alter session set current schema 'xyz' were 'xyz' represents my tablespaces.
any other hints, suggestions, comments welcome.
regards
chenn