SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Data Virtualization Tools and Software Denodo Platform and Data Virtuality Tutorials and Downloads for SQL Database Developer

Create Remote Table on Denodo to Migrate Data from Source to Target Database

Data architects and data professionals can move data from its source into a target database table using Denodo's remote table feature. SQL developers can use Denodo Virtual DataPort and VQL Shell where they can build their SQL query to read data from its data source. This VQL query is used to build a base view on Denodo and a new database table is created on the selected remote data source. Executing the remote table creation task populates the remote table with data fetched by VQL query. The Denodo Remote Table feature can be used to migrate data from its source to a target destination table.

In this Denodo tutorial, I want to show how SQL developers can use Remote Table feature for data transfer in addition to its main task as a data virtualization tool.

Denodo remote table

Log on to Denodo Virtual DataPort Administration Tool

Right click on a database node in Server Explorer window, then "New > Remote Table"

create remote table for ETL on Denodo

Here is the initial view for the "Create Remote Table" template screen

create remote table on Denodo for data migration

First select the target data source.
Select the "Database" name from the dropdown list. The list consists of the databases seen within Server Explorer windows on the left. These are the logical databases created on Denodo Virtual DataPort.
Following database name selection, the "Name" combobox will be enabled and populated with data sources defined in the previously selected Denodo database.

target database for Denodo remote table creation

We continue with Remote Table section.
First make your selection from Catalog
Since the data source which I selected in previous step was a SQL Server, in catalog combo, I see the list of databases on the SQL Server instance.

After the Catalog selection, the schema dropdown list is populated. All schemas created under the chosen SQL Server database is listed here.

database schema selection for target remote table

All these selections up to now, enables the Denodo developer to define the remote data source, database or catalog, schema where the new remote table will be created.
Actually we are identifying the hierarachy of the remote table on its data source.

Now type the name of the target remote table which you want to create using Denodo Virtual DataPort.
Let me name my remote table as "myNewTable"

data source configuration on Denodo for remote table

While Denodo creates the remote table on its data source, it also creates a base view for it, too.
So in Base View section, you can define what will the name of the base view be, in which Denodo database you want to create it, and in which folder you want to see it in.

base view configuration of remote table VQL SQL query

Now, the Denodo developer is ready to define the source of the data that will be queried or read from its source and written into target remote table.

For data of the remote table, Denodo developer will use the VQL Query.
To select the data let's first build your source SQL or VQL query on a new VQL Shell screen.

I want to use the data from an SAP data source T001 Compnay Code database table. Here is my SQL query

select * from poc.t001

VQL Shell for SQL query building on Denodo

After you build your query and add/remove fields, etc you can use the VQL query on the Create Remote Table screen.

Denodo Remote Table VQL Query

Press Create button.

remote table creation tasks on Denodo

The creation finished successfully.
Step 1 of 3: Created remote table 'myNewTable' successfully.
Step 2 of 3: Inserted 264 rows into remote table 'myNewTable'.
Step 3 of 3: Created base view 'bv_myNewTable' successfully in the 'poc' database.

Click OK to close, Open base view to see the base view created for generation of the data for this data migration task.

If you launch a SQL Server Management Studio SSMS and connect to the target data source, our SQL Server PCS database, under Tables node we can view our table and query its data using a simple SELECT query

Denodo remote table on SQL Server

As seen above, the data from SAP HANA database table is migrated to SQL Server database table using Denodo Remote Table feature easily.

SQL data professionals can use Denodo as a data abstraction layer aka data virtualization layer and as well as an ETL tool for migrating data from its source into a target database table.

Data Virtualization

Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.