I need to build a report from multiple databases (Oracle, w 50000 records and Excel w 10000 records). I am using SQL in order to summarize the records and control for many-to-many relationships. I have successfully built the SQL Add Command for each database, individually. When they are individually used in a report, they run literally instantaneously. Good so far.
However when I bring BOTH SQL commands into one report, and (successfully) link them (two fields are linked) the database access and record retrieval slows to a crawl. It now takes more than 6 hours to go to the end of the report. I would like to build ONE SQL statement that hits BOTH databases, but I think that is not technically possible (please tell me I'm wrong).
Is this the correct method for linking multiple COMMAND-driven queries. Or am I asking too much ??
Any suggestions would be appreciated.
However when I bring BOTH SQL commands into one report, and (successfully) link them (two fields are linked) the database access and record retrieval slows to a crawl. It now takes more than 6 hours to go to the end of the report. I would like to build ONE SQL statement that hits BOTH databases, but I think that is not technically possible (please tell me I'm wrong).
Is this the correct method for linking multiple COMMAND-driven queries. Or am I asking too much ??
Any suggestions would be appreciated.