Azure Synapse Analytics ODBC Driver for RStudio Connection

Accessing the Azure Synapse Analytics database can be fast and seamless by using the Open Database Connectivity (ODBC) solution. Providing full interoperability, the ODBC driver for Azure Synapse Analytics allows you to access live Azure Synapse Analytics data directly from RStudio. It enables you to retrieve data to RStudio, and review and modify these data right in this application.

Azure Synapse Analytics Key Features

  • Open source
  • Low memory leakage problem
  • Support for multiple table types
  • Platform Independent

RStudio Key Features

  • Comprehensive IDE for R
  • Powerful data visualization
  • Project management capabilities
  • Code completion and syntax highlighting
Native Connectivity to Azure Synapse Analytics

Direct Connection

Our data connector enables various ODBC-aware applications to establish a direct connection to Azure Synapse Analytics via TCP/IP to eliminate the need for a Azure Synapse Analytics client. A direct connection increases the speed of data transmission between RStudio and Azure Synapse Analytics for real-time analytics. It streamlines the deployment process since there is no need to distribute any additional client-side software with the ODBC driver for Azure Synapse Analytics.

What are some reasons to choose Devart ODBC Driver for Azure Synapse Analytics?

Integration

Integration

ODBC Driver for Azure Synapse Analytics is compatible with RStudio allowing extraction of data by executing SQL statements.

Platforms Variety

Platforms Variety

ODBC Driver for Azure Synapse Analytics can be used with 32-bit and 64-bit applications on both x32 and x64 platforms, so there is no need to additionally configure the driver, applications, or environment.

Fully Unicode-Compliant Driver

Fully Unicode-Compliant Driver

With our fully Unicode-compliant driver, you can properly retrieve and modify any data in multilingual Azure Synapse Analytics databases, regardless of their character set: Latin, Cyrillic, Hebrew, Chinese, etc., and in any language environment.

How to download, install, and configure ODBC Driver for Azure Synapse Analytics?

Download the driver. Run the installer and follow the instructions in the wizard. Open ODBC Data Sources. In the System DSN tab, click Add. Select the needed driver and click Finish.
In the License tab of the Configuration dialog, click Input Activation Key and enter your key. Click OK.
In the General tab of the Configuration dialog, fill in the fields with the database connection data. To test the connectivity, click Test Connection. To save the DSN, click OK.
Tools

To install and configure ODBC Driver for Azure Synapse Analytics on macOS, download first the PKG file from the Devart website. Run the downloaded file and follow the instructions in the wizard. After installing the driver, run the 64-bit or 86-bit iODBC utility, find the needed driver, and click Configure. In the dialog box that appears, specify the required connection settings and click OK. To establish a connection to the data source, click Test.

macos
Installation of an ODBC driver on Ubuntu is carried out from the DEB package. Download the package that matches the bitness of your operating system.
Then open the folder with the downloaded package, double-click the DEB package, and click Install.
Open the Terminal and install the driver by using the following command.
If you use CentOC, you need to download the RPM package of the corresponding bitness.
After that, open the Konsole and navigate to the folder with the downloaded package specifying the path to the folder as a parameter of the cd command. Then, install the driver by using the following commands.
Gui installation

To install the devartodbcsqlsynapse_i386.deb on a 32-bit system, use:

use sudo dpkg -i devartodbcsqlsynapse_i386.deb

To install the devartodbcsqlsynapse_amd64.deb on a 64-bit system, use:

sudo dpkg -i devartodbcsqlsynapse_amd64.deb

For more detailed information about installing and configuring ODBC Driver for Azure Synapse Analytics on Ubuntu, go to the documentation.

cd ~/Downloads/

To install the devart-odbc-sqlsynapse.i386.rpm on a 32-bit system, use:

sudo -rpm -ivh devart-odbc-sqlsynapse.i386.rpm

To install the devart-odbc-sqlsynapse.x86_64.rpm on a 64-bit system, use:

sudo rpm -ivh devart-odbc-sqlsynapse.x86_64.rpm

For more detailed information about installing and configuring ODBC Driver for Azure Synapse Analytics on Centos, go to the documentation.

How to connect RStudio to Azure Synapse Analytics data source and access data in 3 steps

Icon representing the installation action

01. Install the driver and configure an ODBC data source in driver settings. You can check the connection by clicking Test Connection.

Devart ODBC Driver configuration window
Icon representing the connection action

02. Open RStudio. In the Output pane, go to the Packages tab and select the RODBC (ODBC Database Access) checkbox.

Packages tab of the Output pane in RStudio
Icon representing the data retrieval action

03. In the Console pane, enter your script and press Enter to run it. View the result in the Source and Environment panes.

Script and its result displayed in RStudio

Advantages of Connectivity to Azure Synapse Analytics from RStudio via ODBC Driver

Secure Connection

Secure Connection

Every operation with Azure Synapse Analytics becomes significantly faster using such capabilities of our driver as local data caching, connection pooling, and much more.

Working with RStudio using Multiple Functions

Working with RStudio using Multiple Functions

Using RStudio, you can create tables, add data, select, delete, sort, edit, combine data from several database tables, and find unique values quickly and easily.

ODBC Conformance

ODBC Conformance

The driver fully supports the ODBC interface, its data types, and functions. It offers advanced connection string parameters and allows any ODBC-compliant desktop or web application to connect to Azure Synapse Analytics from RStudio on various platforms.

Simple SQL Querying on RStudio Files

Simple SQL Querying on RStudio Files

RStudio processes SQL through its SQL dialect. Using ODBC connection, it is simple to execute different SQL queries to retrieve entire tables or specific columns from Excel, filter data, format data, numbers, etc.

Cost-Effective Deployment

Cost-Effective Deployment

Installing the driver is easy with the standalone installation file. There is no need in deploying and configuring any additional software which results in a reduction in deployment costs.

Sharing Your Data with Excel

Sharing Your Data with RStudio

You can share your data with other users in RStudio quickly and easily. Upload your RStudio data to the SharePoint lists so that it can be available for you and others to use to create reports, data models, dashboards, etc.

Popular RStudio Integrations Using ODBC Driver