Attributes | Values |
---|
has container
| |
Date Created
| |
topic
| |
described by
| |
seeAlso
| |
Date Modified
| |
link
| |
id
| - ea0b2c750f326e80b1d07be3416f996b
|
content
| - %VOSWARNING%
%META:TOPICPARENT{name="VirtLinkRemoteTables"}%
---+ Linking Sybase Database Objects into Virtuoso
---++ Steps
1 Start the Virtuoso Web User Interface.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtWebHome.png" style="wikiautogen"/>%BR%%BR%
1 Select the *Conductor* link in the left frame and login as the *dba* user.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtConductor.png" style="wikiautogen"/>%BR%%BR%
1 Select the *Databases* -> *External Data Source* -> *Data Sources* tab menu items.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB1.png" style="wikiautogen"/>%BR%%BR%
1 Select the *Connect* button for the *syb15ma* Sybase DSN.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB2.png" style="wikiautogen"/>%BR%%BR%
1 On succesful connection, select the *Link Objects* button to obtain a list of available tables.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB3.png" style="wikiautogen"/>%BR%%BR%
1 Select all the tables that are part of the *pubs2* catalog.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB4.png" style="wikiautogen"/>%BR%%BR%
1 Change the Catalog for each table to be *P2* using the *Set All* button.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB5.png" style="wikiautogen"/>%BR%%BR%
1 All the catalog names are changed to be *P2*.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB6.png" style="wikiautogen"/>%BR%%BR%
1 Select the *Link* button to link the selected tables into Virtuoso.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB7.png" style="wikiautogen"/>%BR%%BR%
1 On completion of the Link process, the tables will be displayed in the *External Linked Objects* tab.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB8.png" style="wikiautogen"/>%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 *P2.syb15ma.authors* table to demonstrate this.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB10.png" style="wikiautogen"/>%BR%%BR%
1 Click the *Execute* button to run the query and retrieve the results from the remote table.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB11.png" style="wikiautogen"/>%BR%%BR%
1 The tables can also be viewed as part of the Virtuoso *SQL Schema Objects* under the *P2* catalog name.
%BR%%BR%<img src="%ATTACHURLPATH%/VirtLinkSYB9.png" style="wikiautogen"/>%BR%%BR%
The Link process is now complete enabling the tables to be queried as if part of the Virtuoso Schema.
---++ Related
* [[VOSSQL2RDF][Mapping SQL Data to Linked Data Views]]
* [[VirtSybaseEntityFrameworkUsage][Using Microsoft Entity Frameworks to Access Sybase Schema Objects with Virtuoso]]
CategoryDocumentation CategoryVirtuoso CategoryDotNET CategoryEntityFrameworks CategoryWebSite
|
Title
| |
attachment
| |
has creator
| |
is described using
| |
atom:source
| |
atom:updated
| |
atom:title
| |
links to
| |
atom:author
| |
name
| |
topic
| |
atom:published
| |
type
| |
is topic
of | |
is made
of | |
is link
of | |
is creator of
of | |
is atom:contains
of | |
is atom:entry
of | |
is links to
of | |
is container of
of | |
is http://vocab.deri.ie/void#inDataset
of | |