Visual studio code SQL

Hi! How do I set up visual studio code to fiddle around with SQL? I’m looking to play around with it. Thanks!

SQL (structured query language) is a language to query a database, but SQL is not the actual database. So first you need to decide on database (engine), for example MySQL.

then you need to install MySQL, then you can integrate this into VSC:

Use Visual Studio Code to connect and query - Azure SQL Database & SQL Managed Instance | Microsoft Docs

although this seems the database already need to exists, then you might want to use heidiSQL or mySQL workbench to make the database (and possible tables)

1 Like