Home > SQL Server > Changing the default value of “Edit Top 200 Rows” – SQL Server 2008

Changing the default value of “Edit Top 200 Rows” – SQL Server 2008

The SQL Server 2005 Management Studio allows us to “Edit” and “View” the whole set of records in a table. But in SQL Server 2008 Management Studio, this flexibility was restricted. SQL Server 2008 by default allows us to select top 1000 records and allows us to edit top 200 records. If our records in a table are more than the default numbers, SQL Server 2008 won’t display those records or allows us to edit those records. We can increase those default value.

Here are the steps…

1. Open SQL Server 2008 Management studio.

2. Right Click on any of the table. It will display the default value.

01-2008

3. Go to “Tools” > “Option” > “SQL Server Object Explorer” > “Command”.

02-2008

4. Change the default value to your desired value. Here i am entering “10000″.

03-2008

5. Now go and check again. The value gets changed.

04-2008

We successfully changed the default value to our desired value.

  1. Neil
    August 26, 2009 at 9:54 PM | #1

    Worth noting, possibly introduced with SP1, but SSMS (I’m running 10.0.2531.0) now supports editing and selecting “all rows” by providing a value of zero (0) per the process described above.

    • August 27, 2009 at 5:02 AM | #2

      Hi Neil,

      Thanks for your information. Initially, we have faced some problems in selecting and editing the records in SQL Server 2008. We found this option and changed the numbers to our desired limit.
      Actually, your response for my post helps us a lot. Once again i am thanking you for sharing your knowledge.

      Regards,
      Sujeev

  2. Peggy Scott
    September 18, 2009 at 5:40 PM | #3

    Thank you!

  3. Dave Burke
    April 13, 2010 at 11:00 AM | #4

    Thanks Dude ! that was a great help

  4. RSK
    March 30, 2011 at 9:32 AM | #5

    Thankz yaar

  5. Jose
    May 14, 2012 at 7:39 AM | #6

    Good, thanks

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.