Table of Contents

Search

  1. Preface
  2. Introduction to ODBC Connector
  3. Connections for ODBC
  4. Synchronization tasks with ODBC Connector
  5. Mappings and mapping tasks with ODBC Connector
  6. SQL ELT optimization
  7. Data type reference

ODBC Connector

ODBC Connector

Configure the Microsoft Azure ODBC driver

Configure the Microsoft Azure ODBC driver

Before you establish an ODBC connection to connect to Microsoft Azure SQL Data Warehouse, configure the ODBC driver.
  1. Download the Microsoft ODBC drivers from the Microsoft Azure website, and then install the drivers for Windows and Linux operating systems.
  2. On Linux, you need to set the ODBCINI and LD_LIBRARY_PATH environmental variables for the driver and create the DSN entries. Add the path of the
    odbc.ini
    file to the ODBCINI environment variable.
    setenv ODBCINI "/data/home/adputf_9/cloud_td/ODBCINI/odbc.ini"
  3. To set the LD_LIBRARY_PATH environment variable, use the following syntax:
    setenv LD_LIBRARY_PATH "/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0"
  4. Add entries for the Microsoft Azure SQL Data Warehouse data sources in the
    odbc.ini
    file.
    The following section shows a sample entry in the
    odbc.ini
    file:
    [Sample Azure DW ODBC DSN] [SD_Azure_DW] Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0 Description=Microsoft ODBC Driver 11 for SQL Server Server=dghhgx2ad3.database.windows.net Database=INFASQLDW_DEV LogonID=infadwadmin Password= QuotedId=Yes AnsiNPW=Yes EncryptionMethod=1 SeedBeforeConnect=1 EnableQuotedIdentifiers=1 ValidateServerCertificate=0 DriverUnicodeType=1
  5. Restart the Secure Agent.

0 COMMENTS

We’d like to hear from you!