ODBC TUTORIAL

Connect to Snowflake database from SQL Server Integration Server

Updated: 04 Jan 2023

Introduction

The SQL Server Integration Service (SSIS) is an ETL (Extract Transform and Load) Tool from Microsoft for building enterprise-level data integration and transformation solutions.

 

It can be used for essential data integration and workflow applications and to perform broad data migration tasks. It features a data warehousing tool for data extraction, transformation, and loading. 

 

Prerequisites

Required Softwares: 

  • Microsoft Visual Studio (version 2014 or latest) 
  • SQL Server Data Tool (SSDT) 

 

This tutorial assumes that you have ODBC drivers installed and a data source configured. If you have not yet done these steps, please follow these instructions. Ensure that Microsoft Visual Studio and ODBC Driver architecture matches. For example, if you have a 64-Bit Microsoft Visual Studio installed then you need to have the 64-Bit version of Progress DataDirect ODBC drivers installed. Most likely, your visual studio would be a 32-bit version and you would need a 32-bit driver.  

 

1. Download and install the Progress DataDirect ODBC driver using the 15-day trial software. In this tutorial, we are connecting to Snowflake Database. 

 

2. Configure a data source for your database. See the DataDirect documentation for assistance with setting up your data source. You will learn how to configure a Snowflake Data source in the following steps. 

 

Configure Connection to Snowflake ODBC Driver Using the ODBC Administrator

1. After the DataDirect Snowflake ODBC driver has been installed, open ODBC Administrator to configure the connection and click on Add.     

   

   

 

2. Choose the “DataDirect X.X Snowflake” and click on “Finish.”   

 

    

 

3. The ODBC Snowflake Driver Setup window will pop up.  

 

 

 

 

Enter your credentials, click on “Apply” and then click on “Test Connect.”     

     

4. The Snowflake Logon screen will pop up. Provide logon credentials and click on “OK.”   

 

 

     

5. A dialog box will confirm that the connection is established.    

 

    

 

Configure the DataDirect ODBC Snowflake Driver with Microsoft Visual Studio.

1. Open Microsoft Visual Studio. You should create a new SSIS project by going to File → New → Project. 

 

 

2. A new window will appear, and inside that select Integration Services Project (If not appearing, left side of the window go to Templates → Business Intelligence → Integration Services). 

 

  • Specify a suitable project Name and choose the desired location using Browse... on the lower side of the window, as shown below, picture. 

 

 

 

  • Must ensure SSIS Toolbox is present on the left side of the window and Solution 'Integration Service Project' is present on the right side of the window. As shown in the below picture. 

 

 

  • If the SSIS Toolbox does not appear on the left side of the window then, Right Click on Control Flow Page and select SSIS Toolbox.  

 

 

3. From the left side of the window, Under SSIS Toolbox → Favorites → Data Flow Task, drag and drop the Data Flow Task into Package.dtsx[Design]* Page section.