I want to execute a query that selects data from a different schema than the one specified in the database connection (same Oracle server, same database, different schema)
I have a python application working with an Oracle server. It opens a connection to the database (server / schema) A and selects the queries for the tables inside this database.
I tried the following:
select .... from pct.pi_int, pct.pi_ma, pct.pi_es where ...
But I get:
ORA-00942: table or view does not exist
I also tried matching the schema name with parentheses:
from [PCT].pi_int, [PCT].pi_ma, [PCAT].pi_es
I get:
ORA-00903: invalid table name
Requests are made using the cx_Oracle python module from a Django application.
Can this be done or should I create a new db connection?
marianov
source share