Can I use the EXEC_SQL package to base a report on two data sources simultaneously?
The EXEC_SQL package uses PL/SQL to programmatically fetch a single row of data at a time. In Oracle Reports, you may have an unlimited number of queries based on a single Oracle Database connection. You may also have an unlimited number of PL/SQL connections for a single data fetch. The EXEC_SQL package should not be used for more than one data source in a report. It could be used to populate parameters or use the data within a PL/SQL trigger, such as a Before Report trigger. In order to use different databases in the same report, you can use the JDBC data source, which allows you to create a different connection for every JDBC query in your data model.