Microsoft SQL Server is a proprietary relational database management system developed by Microsoft. qStudio is a free SQL Client, it allows running SQL scripts, easy browsing of tables, charting and exporting of results. It works on every operating system, with every database including Microsoft SQL Server.

Setting up a Microsoft SQL Server connection in qStudio

Start Microsoft SQL Server

Microsoft SQL Server can either be ran locally or on the various cloud vendors including ms azure. For this example we ran MS SQL Server Express 2019 locally. The connection details should be provided, similar to shown:

  1. Make sure SQL and Windows security logon is turned on.
  2. That TCP logins are enabled.
Microsoft SQL Security Microsoft TCP

Connecting to a Server

QStudio bundles the JDBC driver for Microsoft SQL Server.

When you first open qStudio click on the menu options Server->Add Server or on the add server button on the toolbar.
Then set the details:

  1. Server Type: Microsoft SQL Server
  2. Host: localhost
    Port: 1443
  3. Username: sa
    Password: XXXXXXXXXXX
  4. Click Add

Add Microsoft SQL Server Connection

Sending Queries

You can run queries by highlighting selected code and pressing Ctrl + e to run that code. See Keyboard Shortcuts.

CommandShortcut
Run current statement Ctrl + q
Run highlighted text Ctrl + e
Run Line Ctrl + Enter

This will update your various results panels, result contains your table (excel export etc. supported), charts are generated based on your data and the console summarizes your recent commands

Run Microsoft SQL Server Select

Well Done!

You have now got qStudio querying your database successfully.

We want to make qStudio the best SQL analysis tool. If you have any problems or want additional features, please post on our github repo.