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

后端 未结 8 1118
挽巷
挽巷 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-22 18:27

    The default to open/add rows to a table is Edit Top 200 Rows. If you have more than 200 rows, like me now, then you need to change the default setting. Here's what I did to change the edit default to 300:

    1. Go to Tools in top nav
    2. Select options, then SQL Service Object Explorer (on left)
    3. On right side of panel, click into the field that contains 200 and change to 300 (or whatever number you wish)
    4. Click OK and voila, you're all set!

提交回复
热议问题