Skip to content

[Bug]: SQL Notebook result grid context menu is missing the "Copy As" submenu #22209

@croblesm

Description

@croblesm

Description

Right-clicking a cell in the Query Editor result grid shows a Copy As submenu with Copy as CSV, Copy as JSON, Copy as INSERT INTO, and Copy as IN clause. The SQL Notebook result grid context menu does not include this submenu, so users have no quick way to copy a selection in those formats from a notebook cell.

The SQL Notebook result grid context menu should include the same Copy As submenu as the Query Editor results panel, with all four options behaving identically.

SQL Notebook results — Copy As submenu missing:
Image

Query results — Copy As submenu present:
Image

Steps to Reproduce

  1. Run SELECT * FROM dbo.authors; in a .sql file. Right-click a cell in the result grid and confirm the Copy As submenu is present with all four options.
  2. Run the same query in a SQL Notebook cell. Right-click a cell in the result grid and confirm the Copy As submenu is absent.

Affected Area

  • Connection dialog (SQL Server | Azure browse/Fabric browse)
  • Query editor
  • Query results panel
  • Object Explorer
  • GitHub Copilot integration
  • Preview/Edit data
  • Table Designer
  • Schema Designer
  • Schema Compare
  • Local SQL Server Container provisioning
  • SQL database in Fabric provisioning
  • DACPAC/BACPAC export/import
  • SQL Database projects
  • Query Plan Visualizer
  • Other (please describe below)

If you selected "Other", please describe the affected area

SQL Notebooks

Environment Information

  • VS Code: Latest (Insiders)
  • MSSQL extension: v1.43 RC

Confirmation

  • I have searched existing issues and couldn't find a match
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions