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

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 TopRows command, to a value greater than or less than 200.
  • Value for Select TopRows 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.

 

 

 

You can also open up the SQL pane and change the query for SELECT TOP (200). To do this follow these steps:

1. In the Object Explorer, right click on the Table you want to edit and select “Edit Top 200 Rows”

2. Once the 200 rows populate in the Main window, right click anywhere in the Main pane and click -> Pane -> SQL.

3. A “SQL Pane” will open up above your Table of 200 rows, where you can then change the SELECT statement to query as many rows as you would like.

Source:

http://www.gotknowhow.com/articles/edit-more-than-200-rows-sql-server-2008

 

İlk yorum yapan olun

Bir yanıt bırakın

E-posta hesabınız yayımlanmayacak.


*