Results in Grid is not showing in SQL Server

20,023

Solution 1

Location of UI Button on Sql Server Management Studio Toolbar to change the default query output

Check your default "Results To" selected UI element. Make sure it is selected as "Results To Grid".

I ran into this issue and when I looked at the setting under 'Query Result' > 'SQL server' > it was already set as "Results To Grid"

I believe it was when I was trying hot-keys and fat-fingered CTRL+T which changes the results window to "Results To Text"

Solution 2

Check 'General' tab under 'Query Result' > 'SQL server' to see if the 'Default destination for result' is set to 'Result to Grid'enter image description here

Share:
20,023
Mar1009
Author by

Mar1009

Updated on October 23, 2020

Comments

  • Mar1009
    Mar1009 over 3 years

    I couldn't see the results in grid pane, so I did the following:

    Tools > Options > Query Results > Results to Grid 
          > uncheck the "Discard results after execution" check box
    

    But still I couldn't see the results in grid. I even hit the "Reset to Default" button in same window yet no luck

    Please shed some light on this.

  • Mar1009
    Mar1009 over 5 years
    Tried that too and even restarted SSMS but still not working.
  • Andrew
    Andrew over 5 years
    Anyway, that can be checked more easily with the menu: Query / Results To. If this was the case, I think Mar1009 would have at least said that the results were being shown as text or that he was asked to save a file.
  • Mar1009
    Mar1009 over 5 years
    I Reset this :options > Keyboard > Reset and restarted it. now worked
  • Jay
    Jay almost 2 years
    After making the update open a new query window, then the updates are working