Skip to content

mtxr/vscode-sqltools

Repository files navigation


GitHub

Welcome to Database Management done right. SQLTools provides connections to many of the most commonly used databases, making it easier to work with your data. With this tool, developers will save (a lot of) time, increase productivity and feel like a database hero ✌️

SQLTools is an open-source project maintained by Matheus Teixeira and George James Software, alongside contributions from our brilliant community of users.

If you like using this tool please leave us a review.

Features

Connects to MySQL, PostgreSQL, Microsoft SQL Server and many more...

  • Beautifier and formatter for SQL code
  • Query runner, history and bookmarks
  • Connection explorer
  • Generator for INSERT queries
  • Pluggable driver architecture

Find out more in the documentation here.

Getting Started

SQLTools is a set of VS Code extensions that connect to, query, and display results from a SQL database manager. (Supported databases are listed below.)

The installation process is straightforward:

  • Open VS Code
  • Click the Extensions view (in the left bar), then search for @tag:sqltools-driver. This lists all the drivers available for SQLTools.
  • Install the driver for your database. This also installs the core SQLTools extension.
  • Click the SQLTools icon (in the left bar)
  • Create a connection to your database. To do this, hover over CONNECTIONS in the SQLTools pane. Click the "Add New Connection" icon and choose the driver and enter the connection parameters.

You can then open and query it from within VS Code.

Supported Databases

To use SQLTools you will also need to install the appropriate driver extension for your database.

If the driver you want is not available, you can use our handy new drivers guide to write it yourself (and help our community in the process) or submit feedback via GitHub.

If you need a driver sooner, get in touch with the maintainers directly – we might be able to help you out.

Psst… we’re always on the lookout for maintainers for the official drivers, so let us know if this is something you’re interested in!

Official Drivers

Driver Marketplace Package
CockroachDB CockroachDB Link packages/driver.pg
MariaDB MariaDB Link packages/driver.mysql
MSSQL Microsoft SQL Server/Azure Link packages/driver.mssql
MySQL MySQL Link packages/driver.mysql
TiDB TiDB Link packages/driver.mysql
PostgreSQL PostgreSQL Link packages/driver.pg
SQLite SQLite Link packages/driver.sqlite

Community Drivers:

Driver Marketplace Maintainer and Repository
AWS Redshift AWS Redshift Link @kj-9
kj-9/sqltools-redshift-driver
ClickHouse logo ClickHouse Link @ultram4rine
ultram4rine/sqltools-clickhouse-driver
Databricks Databricks Link @Databricks
databricks/sqltools-databricks-driver
DuckDB Sql Tools DuckDB Link @RandomFractals
RandomFractals/duckdb-sql-tools
DuckDB Pro Tools DuckDB Pro Sign up @RandomFractals
RandomFractals/pro-data-tools#duckdb-pro-tools
DuckDB (Latest Version Support) DuckDB (Latest Version Support) Link @Evidence
evidence-dev/sqltools-duckdb-driver
Google BigQuery Google BigQuery Link @Evidence
evidence-dev/sqltools-bigquery-driver
Google Cloud Spanner Google Cloud Spanner Link @cloudspannerecosystem
cloudspannerecosystem/sqltools-cloud-spanner-driver
Google Cloud SQL (PostgreSQL) Google Cloud SQL (PostgreSQL) Link @curioswitch
curioswitch/sqltools-cloudsql-pg
Hive Hive Link @datafe
datafe/sqltools-hive-driver
Hologres Hologres Link @datafe
datafe/sqltools-hologres-driver
InterSystems IRIS logo InterSystems IRIS Link @daimor
intersystems-community/sqltools-intersystems-driver
MaxCompute MaxCompute Link @datafe
datafe/sqltools-maxcompute-driver
Oracle Oracle Link @hashhashu
hashhashu/sqltools-Oracle-driver
SAP HANA SAP HANA Link @SAP
SAP/sap-hana-driver-for-sqltools
SingleStore SingleStore Link @singlestore-labs
singlestore-labs/sqltools-singlestore-driver
Snowflake Snowflake Link @koszti
koszti/sqltools-snowflake-driver
SQLite Pro Tools SQLite Pro Sign up @RandomFractals
RandomFractals/pro-data-tools/sqlite-tools
Teradata Teradata Link @ScriptPup
ScriptPup/sqltools-teradata-driver
Trino Trino Link @regadas
regadas/sqltools-trino-driver
Vertica Vertica Link @vertica
vertica/sqltools-vertica-driver

Related Tools

Name Download Repository
Markdown SQL Pro Tools Markdown SQL Pro Tools Sign up RandomFractals/pro-data-tools#markdown-sql-pro-tools
PRQL Pro Tools PRQL Pro Tools Sign up RandomFractals/pro-data-tools#prql-pro-tools

Contributing

We are grateful to our contributors for helping with this project ❤️ If you would like to join them you’ll find everything you need to know about contributing here.

Changelog

See the changelog here.

Feedback

Our aim is to build a tool that is genuinely helpful for developers. Therefore we welcome any feedback or additional feature requests – please submit them through the GitHub Issue system.

If you need help sooner, get in touch with the maintainers directly – we might be able to help you out.

About George James Software

George James Software has been providing innovative software solutions for over 35 years. We pride ourselves on the quality and maintainability of our code and we have built a number of tools to help developers achieve the same with their work. These are available as VS Code extensions here.

We also help other developers to build their own extensions. If there is a tool you need building please get in touch with us at [email protected].