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

后端 未结 8 1104
挽巷
挽巷 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:27

    in SQL 2017 You can do it more easily in the toolbar to the right just hit

    the SQL button then its gonna apear the query with the top 200 you edit until the quantity that You want and Execute the query and Done! just Edit

    0 讨论(0)
  • 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!
    0 讨论(0)
提交回复
热议问题