%VOSWARNING% %META:TOPICPARENT{name="VirtLinkRemoteTables"}% ---+ Linking ODBC-accessible Database Objects into Virtuoso ---++ Steps 1 Start the Virtuoso Web User Interface. %BR%%BR%%BR%%BR% 1 Select the *Conductor* link in the left frame and login as the *dba* user. %BR%%BR%%BR%%BR% 1 Select the *Databases* -> *External Data Source* -> *Data Sources* tab menu items. %BR%%BR%%BR%%BR% 1 Select the *Connect* button for the *odbcma* ODBC to ODBC Bridge DSN. %BR%%BR%%BR%%BR% 1 On succesful connection, select the *Link Objects* button to obtain a list of available tables. %BR%%BR%%BR%%BR% 1 Select all the tables that are part of the *Northwind* catalog. %BR%%BR%%BR%%BR% 1 Change the Catalog for each table to be *NWIND* using the *Set All* button. %BR%%BR%%BR%%BR% 1 All the catalog names are changed to be *NWIND*. %BR%%BR%%BR%%BR% 1 Select the *Link* button to link the selected tables into Virtuoso. %BR%%BR%%BR%%BR% 1 On completion of the link process, the tables will be displayed in the *External Linked Objects* tab. %BR%%BR%%BR%%BR% 1 The linked tables can be queried by clicking on the hyperlink in the *Local Name* column of the *External Linked Objects* tab above. This loads the Virtuoso *Interactive SQL* interface with the required SQL *Select* for retrieving the remote table data. We shall use the *NWIND.odbcma.Customers* table to demonstrate this. %BR%%BR%%BR%%BR% 1 Click the *Execute* button to run the query and retrieve the results from the remote table. %BR%%BR%%BR%%BR% 1 The tables can also be viewed as part of the Virtuoso *SQL Schema Objects* under the *NWIND* catalog name. %BR%%BR%%BR%%BR% The link process is now complete, enabling the tables to be queried as if local to the Virtuoso instance. ---++ Related * [[VOSSQL2RDF][Mapping SQL Data to Linked Data Views]] * [[VirtODBCEntityFrameworkUsage][ Using Microsoft Entity Frameworks to Access Remote ODBC-accessible Schema Objects with Virtuoso, via an ODBC-to-ODBC Bridge]] CategoryDocumentation CategoryVirtuoso CategoryEntityFrameworks CategoryDotNET CategoryODBC CategoryODBCODBCBridge