Skip to content

[Feature Request]: Feature Request: Reduce spacing between multiple result sets in QUERY RESULTS panel #19667

Open
@HoaTV67

Description

@HoaTV67

Feature Description

Suggestion

  • Provide an option to reduce or eliminate vertical spacing between result sets.
  • Or add a setting like minimalSpacingBetweenResultSets: true to the extension settings.
  • Ideally, empty result sets (with 0 rows) should be collapsible or hidden by default.

Benefit

  • Improves readability for users working with multi-grid reports or stored procedures.
  • Reduces scroll fatigue and helps data appear more logically grouped.

Problem and Motivation

Problem

When running a SQL query that returns multiple result sets, the spacing between the first and second result sets is often very large — especially if the first set contains only a few rows (e.g., input parameters). This creates an awkward and inefficient visual experience, especially when reading across multiple result grids.

Example:

  • Result Set 1: 1-row parameter summary
  • Result Set 2: Main table (actual data)
  • Result Set 3: Header mapping

Result Set 1 and 2 are separated by a large gap (several empty rows worth of space), while 2 and 3 appear close together.

Image

Related Area

  • Connection dialog
  • Query results panel
  • Query editor
  • Object Explorer
  • Table Designer
  • Schema Compare
  • Schema Designer
  • Local container
  • GitHub Copilot integration
  • Query Plan Visualizer
  • Other (please describe below)

If you selected "Other", please describe the area

No response

Confirmation

  • I have searched existing feature requests and couldn't find a match
  • I want to help implement this feature

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions