Contents Index Joining remote tables Sending native statements to remote servers

ASA SQL User's Guide
  Accessing Remote Data

Joining tables from multiple local databases


An Adaptive Server Anywhere server may have several local databases running at one time. By defining tables in other local Adaptive Server Anywhere databases as remote tables, you can perform cross database joins.

For more information about specifying multiple databases, see USING parameter value in the CREATE SERVER statement.

Example 

For example, if you are using database db1 and you want to access data in tables in database db2, you need to set up proxy table definitions that point to the tables in database db2. For instance, on an Adaptive Server Anywhere named testasa, you might have three databases available, db1, db2, and db3.


Contents Index Joining remote tables Sending native statements to remote servers