How to alter SQL in “Edit Top 200 Rows” in SSMS 2008

后端 未结 8 1110
挽巷
挽巷 2020-12-22 17:54

In SQL Server 2008 Management Studio, when I right click on a database table and choose \"Select Top 100 Rows\", I can then e.g. easily add a \"ORDER BY \"

8条回答
  •  情歌与酒
    2020-12-22 18:26

    If you right click on any result of "Edit Top 200 Rows" query in SSMS you will see the option "Pane -> SQL". It then shows the SQL Query that was run, which you can edit as you wish.

    In SMSS 2012 and 2008, you can use Ctrl+3 to quickly get there.

提交回复
热议问题