I have a database in which some editing operations have to be done manually on some rows. I have the SQL Server Management Studio Express. In SSMS, to edit the rows, normally th
To expand on other answers, once you open the SQL pane and have edited the SQL, you can click Ctrl-R or click the "Execute SQL" button to actually execute the SQL
After you have your 200 rows displayed for editing, you can also click on the "SQL" icon which will now be available above the Object Explorer. This is another way to have the SQL displayed which you can now edit as needed in order to change the desired rows.
As you said, go for
Select DB > Table > Right Click > Edit top 200 rows
Now the window opens with the top 200 query and the results editable.
Now change the query to the one with your where clause and hit F5
Click edit rows on the table and then open the sql tab of that query and add your predicate there. And that's how you can edit filtered records.