Setting Up Google Sheets ODBC Connection: 2 Easy Steps

on Data Integration, Google sheets, JDBC, ODBC, ODBC Connector, SQL, Tutorials • March 25th, 2022 • Write for Hevo

Google Sheets ODBC

The most extensively used interface for connecting programs to data is ODBC. ODBC is built for maximum compatibility, which means that a single application can use the same source code to access many database management systems (DBMSs).

ODBC provides open database connectivity to a range of data sources, including MYSQL, MS-ACCESS, MSSQL, Oracle, and others, using simple APIs.

The Google Sheets ODBC is a powerful tool that gives you access to live data from live Google Sheets directly from any application that supports ODBC. In this article, you will learn how to set up your Google Sheets ODBC connection.

Table Of Contents


  • ODBC Drivers (32-bit and 64-bit support)
  • Google Sheets
  • SQL Database

What is Google Sheets?

Google Sheets is a SaaS (Software-as-a-Service) application that free spreadsheet tool launched by Google in 2012. It is a web-based platform that can be accessed remotely from anywhere anytime. Users can store up to 5 million cells in a single sheet. Multiple users can work simultaneously on the same Google Sheet and enable essay collaboration.

Google Sheets also offers a revision history of the sheet to keep track of which user made what changes and can restore to any of the previous versions of the sheet. In Google Sheets, you can choose from a variety of schedules, budgets, and other pre-made spreadsheets that are designed to make your work that much better and your life easier.

Key Features of Google Sheets

Some of the main features of Google Sheets are listed below:

  • Offline Mode: Google Sheets also allows users to work in offline mode once the sheet is created and make changes to the sheet.
  • Explore Panel: Google Sheets comes with Explore Panel that allows users to get instant insights. It provides a list of suggested graphs that are representative of the data entered in the Spreadsheet. 
  • Security: Google Sheets offers user access security control that lets the owner of the sheet decide who can view, edit, copy or download the sheet.

To know more about Google Sheets, click here.

What is ODBC?

In both non-relational and relational database management systems, ODBC has become the de-facto standard for standards-based data access. An open standard API for accessing a database is known as Open Database Connectivity (ODBC). You can access files in various databases by utilizing ODBC statements in a program. 

The ODBC standard was created to standardize SQL database access. Because ODBC is extensively supported (including support from IBM and Oracle) and is a cross-platform data access standard, it is now more widely used than ADO and OLE DB.

ODBC and JDBC remain the most popular data access standards for SQL data sources. In contrast, standards like ADO and OLE DB are expected to become obsolete.

ODBC Architecture

The architecture of ODBC is made up of four parts:

  • Application: It processes data and uses ODBC functions to submit SQL commands and get responses.
  • Driver Manager: On behalf of an application, the driver manager loads and unloads drivers. It also processes or forwards ODBC function calls to a driver.
  • Driver: The driver handles ODBC function calls, sends SQL requests to a specified data source, and gives the results to the application. If needed, the driver alters an application’s request to be compatible with the associated DBMS’s syntax.
  • Data Source: This is the data the user wishes to access, the operating system, database management system (DBMS), and network platform (if any) utilized to access the DBMS.
ODBC Architecture
Image source

Key Features of ODBC Driver

Some of the main features of ODBC are listed below:

  • SQL Syntax: ODBC supports SQL syntax for easy understanding and SQL statement passed to ODBC matches with standard SQL and writes respective SQL statement.
  • Error Codes: ODBC comes with an error code mechanism that enables users to see issues that occur while executing and processing the SQL statements.
  • Rich Metadata: ODBC offers support for metadata that allows functions to get data about functions and datatypes.

Simplify Data Analysis with Hevo’s No-code Data Pipeline

Hevo Data, a No-code Data Pipeline helps to load data from any data source such as Google Sheets, Databases, SaaS applications, Cloud Storage, SDK,s, and Streaming Services and simplifies the ETL process. It supports 100+ data sources including Jira, Google Sheets, and 30+ data sources for free and is a 3-step process by just selecting the data source, providing valid credentials, and choosing the destination. Hevo not only loads the data onto the desired Data Warehouse/destination but also enriches the data and transforms it into an analysis-ready form without having to write a single line of code.

Get Started with Hevo for Free

Its completely automated pipeline offers data to be delivered in real-time without any loss from source to destination. Its fault-tolerant and scalable architecture ensures that the data is handled in a secure, consistent manner with zero data loss and supports different forms of data. The solutions provided are consistent and work with different BI tools as well.

Check out why Hevo is the Best:

  1. Secure: Hevo has a fault-tolerant architecture that ensures that the data is handled in a secure, consistent manner with zero data loss.
  2. Schema Management: Hevo takes away the tedious task of schema management & automatically detects the schema of incoming data and maps it to the destination schema.
  3. Minimal Learning: Hevo, with its simple and interactive UI, is extremely simple for new customers to work on and perform operations.
  4. Hevo Is Built To Scale: As the number of sources and the volume of your data grows, Hevo scales horizontally, handling millions of records per minute with very little latency.
  5. Incremental Data Load: Hevo allows the transfer of data that has been modified in real-time. This ensures efficient utilization of bandwidth on both ends.
  6. Live Support: The Hevo team is available round the clock to extend exceptional support to its customers through chat, E-Mail, and support calls.
  7. Live Monitoring: Hevo allows you to monitor the data flow and check where your data is at a particular point in time.
Sign up here for a 14-Day Free Trial!

Google Sheets ODBC Driver

The ODBC driver interprets ODBC function calls, sends SQL requests to a specific data source, and returns the results to the application. The ODBC driver can also change the syntax of an application’s request to match the syntax allowed by the linked database. Many data sources, including MongoDB, Google Sheets, Salesforce, Spark, and others, provide ODBC drivers.

The Google Sheets ODBC Driver is a tool that lets you connect to live Google Sheets data from any ODBC-capable application or device. You can connect to Google Sheets ODBC using the driver in the same way you’ll connect to any other ODBC data source. There is no need for another software installation because the drivers are self-contained.

ODBC Data Sources 

A data source is a source that includes the connection information needed to retrieve that data. Oracle RDBMS, SQL Server, a spreadsheet, and a text file are examples of data sources. Also, server location, database name, login ID, password, and different ODBC driver settings that explain how to connect to the data source are examples of connection information. 

To connect to any of the data sources listed above, it is essential you:

  • Install the correct ODBC driver on the computer that has the data source.
  • Create a data source name (DSN) by storing connection information in the Microsoft Windows registry or a DSN file with the ODBC Data Source Administrator.

Steps to Set Up Google Sheets ODBC Driver Integration

Now that you have understood about the ODBC and Google Sheets. In this section, you will learn about the steps to set up Google Sheets ODBC Integration. For this, you must ensure you have the correct ODBC driver for the data source you want to connect to. The following steps for Google Sheets ODBC Driver Integration are listed below:

Step 1: Setting Up ODBC Driver

  • In the Control Panel, search for Administrative tools, as shown in the image below.
Administrative tools
Image Source
  • If you don’t see the Administrative tool in your control panel, click on the category and change the setting to small icons.
  • Double-click Administrative Tools. Keep an eye out for an ODBC connection. There are two ODBC data sources there – 32 bit and 64 bit. Double-click on either the 32 or 64-bit data sources, as shown in the image below.
ODBC Data Sources
Image source
  • Note: Double-check with the database connection requirements to determine if it’s 32 or 64 bit.
  • Depending on the data source you want, click User DSN, System DSN, or File DSN, as shown in the image below.
ODBC Data Source Administrator
Image source
  • Click “Add” once you’ve picked which connection to use.
  • First, select drivers to discover which type of drivers is already installed. This is believed to be installed by default through Windows, as shown in the image below.
Drivers in ODBC Data Source
Image Source
  • This is where you check if the driver needed to connect to a specific database is installed. If not, you must first ensure that it is installed before proceeding.
  • When it comes to setting this up, User DSN and System DSN are the two most essential connections to pay attention to. The User DSN connection setup differs from the System DSN connection setup. 
  • The User DSN allows only one user to access the database. On the other hand, the System DSN allows everyone who uses your computer to connect to the same database.
  • Once you have decided on the connection to use, click add and select the driver you’d like to use to create a data source, as shown in the image below.
Creating New Data Source
Image Source
  • Click “Finish” or “Next” to continue. If the ODBC driver you require is not listed, contact the database administrator for instructions on how to obtain the proper driver.
  • Provide the required connection information, as shown in the image below.
Creating New Data Source to SQL
Image Source
  • Here’s the important part: the server’s name to which you want to connect is required. The server’s name could be an IP address or combinations of letters and numbers. 
  • This authentication is essentially attempting to determine who you are. Why do you want to connect? Are they linked to your Windows login or not?
  • Windows NT authentication is enabled by default, using the network login ID, your domain, and the same Windows login. 
  • It enables authentication or remote database access. You could leave it at that.
Enabling Authentication
Image Source
  • However, these remote databases frequently have their own login ID and password. For this, you’d choose SQL Server authentication to open the login ID and password. After you have filled in your password, click Next.
  • When you’re done, you’ll notice that you’ve accomplished the configuration for the remote database connection.

Step 2: Connecting Google Sheets ODBC

  • You can connect to Google sheets by granting Google access and setting the Google sheets connection property to the Google sheets’ name or feed URL. After your access is authenticated, run a query to the Spreadsheets view to see a list of information about the spreadsheets in your Google Drive.
  • You can use the integrated credentials or register your own OAuth app to access Google APIs on behalf of specific users. This can be done with the OAuth 2.0 authentication protocol.
  • OAuth also allows you to log in on behalf of users in a Google Apps domain using a service account. To use a service account for authentication, you must first register an application and receive the OAuth JWT data.
  • Click the “Test Connection” to confirm that the DSN is properly connected to Google Sheets ODBC. To see the table definitions for Google Sheets, go to the Tables tab.

That’s it! You have completed the Google Sheets ODBC Driver Integration.


In this article, you went through the basics of ODBC, ODBC drivers, how to set ODBC drivers up, and how to set up Google sheets ODBC connection. You have just configured the ODBC driver and set up Google sheets ODBC Integration. You can now query local and distant data simultaneously.

Visit our Website to Explore Hevo

Companies can use this data to analyze and optimize the workflow. Data Warehouse is used by companies to store and analyze business data. Hevo Data is a No-code Data Pipeline that can help you transfer data from Google Sheets for free to desired Data Warehouse. It fully automates the process to load and transform data from 100+ data sources to a destination of your choice without writing a single line of code. 

Want to take Hevo for a spin? Sign Up here for a 14-day free trial and experience the feature-rich Hevo suite first hand.

Share your experience of learning about Google Sheets ODBC Integration in the comments section below!

No-code Data Pipeline For your Data Warehouse