GotKnowHow.com

How to Edit More than 200 Rows in SQL Server 2008 Management Studio

Change the default settings of "Edit Top 200 Rows" or "Select Top 1000 Rows" in SQL Server 2008 Management Studio.
by


Modify the default settings in SQL Server Management Studio, to Edit more than 200 rows or Select more than 1000 rows.

In SQL Server 2008 Management Studio, you may want to change the default settings to allow you to edit more than the 200 rows at a time, or select more than 1000 rows, which are the default settings for SQL Server.  To modify "Edit Top 200 Rows" or "Select Top 1000 Rows" setttings do the following:

  1. In SQL Server 2008 Management Studio, go to "Tools" -> "Options" -> "SQL Server Object Explorer" -> "Commands".
  2. Now in the right-hand side "Table and View Options" section, you can change either:
    • Value for Edit Top <n> Rows command, to a value greater than or less than 200.
    • Value for Select Top <n> Rows command, to a value greater than or less than 1000.
  3. By specifying a value of 0, SQL Server will return all rows.  (If you sql tables are really large, you will definitely NOT want to set these values to 0.
  4. Click OK to save your changes.
 


0
3

3 Comments

anonymous by Preetham k a on 11/30/2010
thank you, you saved my time...it is very usefull....
anonymous by Rahul on 12/9/2010
ya really help full one
anonymous by Suresh Nair on 5/9/2011
Thank you. Saved a lot of time.

Add your comment

by Anonymous - Already have an account? Login now!
Your Name:  

Comment:  
Enter the text you see in the image below
What do you see?
Can't read the image? View a new one.
Your comment will appear after being approved.

Ask a Question

140 characters left

Recent Articles

Follow Us...