How to change the ‘Edit Top 200 Rows’ in SQL Management Studio ?

Published on September 14, 2016 by abundantcode

Filed under SQL Server

Last modified September 14, 2016

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 3214 times

When working with the SQL Server Management Studio and trying to edit the table records , you would have noticed the context menu option "Edit Top 200 Rows".

image

How do you change this to display all the records for editing instead of "Edit top 200 rows" in the context menu ?

There are couple of ways in which you can do it.

1. Right click on the results of the "Edit top 200 rows" where you will see a context menu with the list of options. Select Pane -> SQL. It would display the query that was run. Modify the query to display all the results.

image

2. Change the settings in the SQL Server Management studio to display all the rows by following the steps as shown.
– In SQL Management Studio , navigate to Tools –> Options

SNAGHTML7cd4aa4

– Select SQL Server Object Explorer in the left sidebar and change the value for “Edit Top<n> Rows command to 0 and click the OK button.

image
– Now, you should see all the records option in the context menu.

Leave a Comment


x

You might be Interested in these Posts

C Program to find the G.C.D of a number using Recursive function

Problem Write a program in C to find the find the G.C.D of a number using recursion and display the ...

C Program to print a Half Pyramid using *

Problem Write a program in C to print Half pyramid using * as shown. * * * * * * * * * * ...

C Program to display Positive factors of a number

Problem Write a program in C to display all the positive factors of a number enter by the user. Ho...