profiler
#profiler#sql-notebooks

SQL Notebooks

SQL Notebooks (preview) SQL Notebooks in the MSSQL extension for Visual Studio Code provide notebook-based SQL development using native Visual Studio Code Jupyter notebooks. You can combine interact

SQL Notebooks (preview)

SQL Notebooks in the MSSQL extension for Visual Studio Code provide notebook-based SQL

development using native Visual Studio Code Jupyter notebooks. You can combine interactive

SQL query execution with Markdown documentation cells to build runnable query collections,

document database operations, and share reproducible analysis.

SQL Notebooks offers these capabilities:

Execute T-SQL queries interactively in notebook code cells with inline results displayed

below each cell.

Use the native Visual Studio Code Jupyter notebook format (

files) for full

compatibility with existing notebook tooling.

View query results in a rich data grid with sorting, filtering, cell selection, null value

highlighting, and copy options (including copy with headers).

Write SQL with IntelliSense, including table and column name suggestions based on your

active database connection.

Add Markdown text cells alongside SQL code cells to document queries, annotate results,

and create narrative workflows.

Connect each notebook to a SQL Server instance and switch between databases on the

same server.

Run cells individually or execute all cells sequentially.

Use GitHub Copilot for inline query suggestions in code cells and chat-driven notebook

authoring to generate complete notebooks from natural language descriptions.

Combine SQL cells with other language kernels (such as Python) in the same notebook by

installing the

Jupyter extension.

Tip

SQL Notebooks is currently in preview and might change based on feedback. Join the

community at

to share ideas or report issues.