Repository navigation
Releases
SQL Notebook Studio 1.2.1
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.2.1
- Shift+Enter keeps the cell you ran selected instead of moving to the next cell.
SQL Notebook Studio 1.2.0
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.2.0
- Shift+Enter runs the cell, selects the next one and, once the result is drawn, puts the cell you ran one third of the way down the window, so the top third still shows the end of the cell above. New setting
sqlNotebook.shiftEnterScroll:top(the cell you ran at the top),topThird(the default),middle(halfway down),whenNeeded(scroll only when the next cell would be hidden near the bottom) oroff. - Ctrl+Enter (Cmd+Enter on Mac) runs the cell where it is, without scrolling, as in Jupyter.
- A and B add a code cell above or below the selected cell (when no cell is being edited), as in Jupyter.
- A result no longer slides under the next cell. When a result was replaced quickly (running, then done), VS Code could keep the first, smaller height.
SQL Notebook Studio 1.1.1
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.1.1
- Every cell's toolbar has an Add AI Prompt Below button (chat sparkle icon). VS Code keeps the "+ Code / + Markdown" row between cells to itself, so this is how to add a prompt right under a cell.
- An AI cell that answers without SQL (for example "the database has no tables", or a table is missing) now ends with ✓, not ✗. It ran fine; there was just no SQL to put below.
SQL Notebook Studio 1.1.0
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.1.0
- AI cells and Fix with AI now work as an agent (LangChain
createAgentwith the to-do list middleware). For a task with several parts the model writes a plan first. It looks up databases, tables and columns with read-only tools, and checks its SQL against the database without running it (SQL Server:SET NOEXEC ONplus a table lookup; others:EXPLAIN). The final SQL is always checked once more; if that fails, the model fixes it, up to twice. - The AI card shows the plan and the current step while the agent works. Once the answer is in, they fold into How this answer was made, with each tool's input and result.
- New setting
sqlNotebook.ai.mode:agent(default) ordirect(one call, no checks). Models without tool calling answer the direct way, with a note in the card. Explain, Optimize and Explain Result stay direct. - The notebook toolbar's AI cell button is now + AI Prompt, next to + Code and + Markdown.
SQL Notebook Studio 1.0.3
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.0.3
- The AI sees the right tables on SQL Server. A database named in the request ("the persons table of MyDatabase") is described too, with three-part names. When the notebook is still in
master, the user databases are described instead ofmaster's system tables. Before, the AI was shownmasterand guessed column names. - The AI no longer guesses missing tables or columns: it says which one is missing.
SQL Notebook Studio 1.0.2
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.0.2
- Autocomplete and the AI now look in the database the notebook switched to with
USE, not only the one saved in the connection. Before, a SQL Server connection with no database set suggestedmaster's tables afterUSE MyDatabase, and MySQL suggested none.USEcounts whether it is in the same cell, in an earlier cell, or already run.
SQL Notebook Studio 1.0.1
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.0.1
- If an old test copy (
kgptalkie.sql-notebook) is also installed, the extension now steps aside and offers to uninstall it. Before, every button showed twice and the two copies kept separate connection lists, so a connection could work in a notebook but be missing from the sidebar. - A new connection's automatic name no longer clashes with a saved one: "SQL Server · localhost" becomes "SQL Server · localhost (2)". The "already used" message now says where the other connection is.
SQL Notebook Studio 1.0.0
Install
Easiest: search SQL Notebook Studio in VS Code's Extensions view.
From a file: download the package for your system, then in VS Code open Extensions → ··· → Install from VSIX…
| System | Package |
|---|---|
| Windows (most PCs) | sql-notebook-studio-win32-x64.vsix |
| Windows on ARM | sql-notebook-studio-win32-arm64.vsix |
| Mac with Apple Silicon (M1 and later) | sql-notebook-studio-darwin-arm64.vsix |
| Mac with Intel | sql-notebook-studio-darwin-x64.vsix |
| Linux | sql-notebook-studio-linux-x64.vsix |
| Linux on ARM | sql-notebook-studio-linux-arm64.vsix |
| Alpine Linux | sql-notebook-studio-alpine-x64.vsix |
| Alpine Linux on ARM | sql-notebook-studio-alpine-arm64.vsix |
What's in 1.0.0
First release.
.sqlnbnotebooks with SQL, Markdown and AI cells. Results can be saved in the file.- Licensed under Apache 2.0, with a NOTICE file. Third-party licenses are in THIRD-PARTY-NOTICES.txt.
.sqlnbfiles have their own icon. One "SQL" cell type works for every database; the connection picks the dialect.- MySQL / MariaDB, PostgreSQL, SQL Server, plus built-in SQLite and DuckDB.
- SSL/TLS and SSH tunnels. Passwords are kept in VS Code's secret storage.
- Connection explorer with tables and columns, Select Top 100 and Describe. A green ● marks connected connections. If a connection drops (server restart, sleep), the explorer reconnects on its own, and a cell that runs fine on a connection clears its "Can't connect" message.
- SQL keywords turn into capitals as you type, per database (keyword lists from sql-formatter). Names, strings and comments are left alone. Setting
sqlNotebook.editor.uppercaseKeywords, on by default. - The notebook toolbar shows the database type next to the connection, for example "Sample Shop · SQLite".
- Autocomplete for tables, columns, aliases and keywords. Fuzzy and case-blind (
sltfinds SELECT); keywords are inserted in uppercase (or lowercase, or as typed, in settings). - Results grid: virtual scrolling, sort, filter, resize, pin, copy, CSV/JSON export.
- Quick charts: bar, line, area, scatter and pie.
{{variables}}and${env:NAME}in queries.- Run several statements per cell; Stop works on every database.
- Safety: confirm DROP, TRUNCATE and UPDATE/DELETE without WHERE; read-only connections.
- AI through LangChain: OpenAI, Anthropic, OpenRouter, Ollama or any OpenAI-compatible API.
Explain, optimize, fix errors, explain results, and AI cells that write SQL. - Export to HTML, PDF and Markdown.