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 Amazon Web Services AWS Tutorials and Guides
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.




Connect SQL Server on Data Virtuality Studio


Data Virtuality is a logical data warehouse software where you can add a SQL Server database as a data source of Data Virtuality server using Data Virtuality Studio. In this tutorial, I want to show the steps to connect to SQL Server from Data Virtuality Studio. This will enable DV developers to connect SQL Server database and query database table data easily. It is even possible to build a SQL query that joins a table from SQL Server data source and another table from another data source type like Amazon Redshift, S3, Oracle or SAP HANA databases.

To add a SQL Server database as a new data source in Data Virtuality, first of all launch Data Virtuality Studio and connect to the target Data Virtuality server. Then on Data Explorer window, right click on the Data sources node and from the context menu displayed, select Add data source menu option.

add new data source on Data Virtuality Studio

When the "Add data source" wizard is displayed start typing SQL in filter box and you will see MS SQL under JDBC data source types.

Highlight MS SQL and click on Next

Provide following required SQL Server connection parameter values on following "data source parameters" screen.

By default connection port for SQL Server databases is 1433.
But if there are multiple SQL Server instances are installed on the same server, or specifically the default port for a SQL Server instance is changed on purpose, you have to provide the correct port here.
Please refer to SQL Server tutorials for port number; Find the Port Number for SQL Server Instance and xp_regread SQL Script to Find SQL Server Port Number

SQL Server connection parameters for Data Virtuality

Test connection and if it is successfull continue to following screen.

Successfully connected to MS SQL

successfully connected to SQL Server from Data Virtuality Studio

If you want Data Virtuality to collect statistics for the data source, mark relevant checkboxes. Otherwise, keep checkboxes clear as default.

gather statistics for the SQL Server data source

Click Finish. If the message "Data source added." is displayed, the new SQL Server data source will be listed among the existing data sources in Data explorer window on Data Virtuality Studio

If you open the SQL Server data source node, you will see Tables/Views node and Procedures node.

SQL Server as new data source in Data Virtuality Studio

By double click on the tables/views node, all existing tables and views on the target SQL Server database will be listed in a seperate window.

Now SQL developers can execute SQL statements on new SQL Server data source.
Following is a sample SQL SELECT command.

SELECT "id", "code", "ulke" FROM "SQLServer2019.Ulke";;

The same SQL command can be executed on the target SQL Server data source using the native procedure provided by Data Virtuality for developers.

call "SQLServer2019.native"(
 "request" => 'SELECT "id", "code", "ulke" FROM "Ulke";'
);;

As shown in this Data Virtuality tutorial, SQL Server databases can be easily added to Data Virtuality Studio as new data sources of the logical data warehouse.





AWS Tutorials

AWS Tutorials

AWS








Copyright © 2004 - 2019 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems