Skip to main content
Platform blog

Run SQL Queries on Databricks From Visual Studio Code

Bilal Aslam
Fabian Jakobs
Shant Hovsepian
Share this post

Today, we are excited to announce that users can now run SQL queries on Databricks from within Visual Studio Code via a preview driver for the popular SQLTools extension. This preview release complements the recently launched public preview of the Databricks extension for VS Code, which allows users to sync and run code developed locally on Databricks-managed compute.

Databricks SQL (DBSQL) is a serverless data warehouse built on the Databricks Lakehouse Platform that enables you to run all of your SQL and BI applications at scale with up to 12x better price and performance compared to legacy data warehouses. DBSQL uses open formats and APIs through a unified governance model with your preferred tools. Now you can connect from VS Code to DBSQL as well as to All Purpose clusters, run SQL queries, and view results without leaving the comfort and power of your favorite editor. This is especially useful if you are working on a dbt project on Databricks and need to iterate on SQL queries while building data models.

The demo below shows how to install the extension and run a SQL query on Databricks:

SQL query on Databricks

We want to thank Matheus Texiera, the author of the popular SQLTools extension and the open-source contributors who have made this extension successful. We would love for you to try this extension out.

Get started by installing the extension from the VS Code. For more information checkout our documentation. We welcome your feedback and feature requests on GitHub.

Try Databricks for free

Related posts

Platform blog

Cohort Analysis on Databricks Using Fivetran, dbt and Tableau

Overview Cohort Analysis refers to the process of studying the behavior, outcomes and contributions of customers (also known as a “cohort”) over a...
Platform blog

Get to Know Your Queries With the New Databricks SQL Query Profile!

February 23, 2022 by Bilal Aslam and Lucas Cerdan in Product
Databricks SQL provides data warehousing capabilities and first class support for SQL on the Databricks Lakehouse Platform - allowing analysts to discover and...
Engineering blog

Connect From Anywhere to Databricks SQL

Today we are thrilled to announce a full lineup of open source connectors for Go , Node.js , Python , as well as...
See all Platform Blog posts