microsoft / microsoft/vscode-mssql
[Feature Request]: Allow reordering of the query result columns
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 610
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 97
Description
### Feature Description
It would be helpful if the columns of a result table could be dragged to the left or right. This would help with comparing information between distant columns.
### Problem and Motivation
I could always change a query and re-run it to move columns around, but there are times when I do not want to refresh the result set. At other times I may want to compare four of five different columns. I may need to scroll back and forth to view desired information. It would be easier to be able to put columns in a desired order and then alter the order as necessary so that relevant information is always next to what it is related to.
### Related Area
- [ ] Connection dialog (SQL Server | Azure browse/Fabric browse)
- [ ] Query editor
- [x] 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 area
_No response_
### Confirmation
- [x] I have searched existing feature requests and couldn't find a match
- [ ] I want to help implement this feature
Contributor guide
No contributing guide indexed for this repository
Research direction
The requested change is in the Query results panel; start by locating the result-table implementation and its existing column interaction behavior. Add drag-based column reordering without refreshing the result set, and verify that columns can be moved left or right and remain in the selected order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100