Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy doesn't work as expected after sorting in Query Results (Preview) window #18516

Open
LienBosmans opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
Area - Query Result Bug Pri: 0 Priority 0 User-filed Filed by a public user

Comments

@LienBosmans
Copy link

  • MSSQL Extension Version: v1.26.0
  • VSCode Version: 1.95.0 (system setup)
  • OS Version: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Run below SQL query to generate some example data.
    with example_data as ( select 'I want to copy this' as first_column, 1 as second_column union all select 'I accidently copy this' as first_column, 2 as second_column ) select * from example_data order by second_column desc

  2. In the QUERY RESULT (PREVIEW) window, change the sort order by sorting the second column ascending (instead of descending as specified by the SQL query)

  3. Select the first row ("I want to copy this") and copy it. (Right click + "Copy" or Ctrl+C)

  4. Paste the result in a text editor. ("I accidently copy this")

@cssuh cssuh added the Pri: 0 Priority 0 label Jan 7, 2025
@cssuh cssuh added this to the January Release 2025 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area - Query Result Bug Pri: 0 Priority 0 User-filed Filed by a public user
Projects
None yet
Development

No branches or pull requests

3 participants