8.4.3. Linking Ingres tables into OpenLink
Start the Virtuoso Web User Interface
Figure 8.146. Start
Select the "Conductor" link in the Left Frame and Login as the
Figure 8.147. Conductor
Select the "Databases" -> "External Data Source" -> "Data
Sources" tab menu items
Figure 8.148. Databases
Select the "Connect" button for the "Ing10ma" Ingres DSN.
Figure 8.149. Connect
On successful connection Select the "Link Objects" button to
obtain a list of available tables
Figure 8.150. Link
Select all the tables that are part of the "TUT" catalog and
press the "Link" button to commence the linking process
Figure 8.151. Select all
Change the Catalog for each table to be "TUT" using the "Set
Figure 8.152. Catalog
All the catalog names are changed to be "TUT".
Select the "Link" button to link the selected tables into
Figure 8.153. "Link"
On completion of the Link process the tables will be displayed
in the "External Linked Objects" tab.
Figure 8.154. Completion
The linked tables can be queried by clicking on the hyperlink in
the "Local Name" column of the "External Linked Objects" tab above,
which loads the Virtuoso "Interactive SQL" interface with the
required SQL "Select" for retrieving the remote table data. We
shall use the "TUT.ingma.book_list" table to demonstrate this.
Figure 8.155. Querying
Then click the "Execute" button to run the query and retrieve
the results from the remote table.
Figure 8.156. Execute
The tables can also be viewed as part of the Virtuoso "SQL
Schema Objects" under the "TUT" catalog name.
Figure 8.157. SQL Schema
The Link process is now complete enabling the tables to be
queried as if part of the Virtuoso Schema.