What if I want to edit the bottom 200 rows, or a custom query, is this possible?
Asked
Active
Viewed 1,360 times
3 Answers
3
You should be able to do the following:
- Load the query window with the edit 200 rows
- From the Query Designer Menu > Pane > SQL or use the SQL button from the Query Designer toolbar
- Edit the query to the number of rows that you want or order by ID, etc
- Execute the new query and the window will be refreshed.

Taryn
- 242,637
- 56
- 362
- 405
2
When you click on "edit Top 200 rows", there is a button on the top right corner that says "SQL", when you click on that, you can write your custom query.
If you want the default value for the edit TOP n rows, you can go to "Tools->Options->SQL Server Object Explorer" and edit the 200 there.

Jeff Puckett
- 37,464
- 17
- 118
- 167

Lamak
- 69,480
- 12
- 108
- 116
1
I'm not sure about Query Analyzer, but in Management Studio you can right click and select Pane > SQL to view/edit the SQL query used

msmucker0527
- 5,164
- 2
- 22
- 36