If primary or foreign
key information is registered in metadata for the table that you drop
on the workspace, then the application retrieves the foreign and primary
key information.
The application then
iterates over each of the tables that are already on the workspace
in the same sequence that they were added to the workspace. The application
retrieves the foreign and primary key information for the table and
compares the length, type, and name with the key columns for the newly
added table. If a match is found, then the tables are used in the
join and the columns are added as a join condition. The application
continues to search for matches between the two tables and adding
join conditions. Once a set of join tables is identified, the application
does not continue iterating over the tables that are already on the
workspace.