While looking through the features in SQL Server 2008 Management Studio (SSMS), I noticed that SSMS only shows the Top 1000 rows when selecting data and the Top 200 rows when editing data for a table. In SQL Server 2005 you used to be able to open the entire table, but this option no longer exists. In this tip we will take a look at how to change the default values for Select Top n Rows and Edit Top n Rowsin SQL Server 2008 Management Studio.
In the previous version of SQL Server Management Studio you might have noticed that there was an option to Open Table by right clicking on the table to view all the records within the table. The disadvantage of using the Open Table option of SQL Server 2005 Management Studio was that SSMS used to hang or become unresponsive for a long period of time if you happened to open a large table.
In SQL Server 2008 Management Studio, by default you can only Select Top 1000 Rows or Edit Top 200 Rows for a table as shown in the below snippet.
The default option as shown above is to Select Top 100 Rows or Edit Top 200 Rows. This can be changed by following these steps.
1. In SQL Server Management Studio, under Tools, click Options as shown in the snippet below.
2. In the Options dialog box, expand SQL Server Object Explorer and then select the Commands tab as shown in the snippet below. Change the Value for Edit Top Rows commandand/or Value for Select Top Rows commandto a suitable value as per your needs as shown in the below snippet and then click OK.
3. Once you have saved the changes go ahead and right click on a table to see the changes as shown below.
Golly . I absolutely HATE 2008 with a poissan because of the changes it's made to object explorer. On in particular is this object explorer details concept. I'm in an medium sized database with Several hundred procedures. However in order to see those procedures it would seem so far that I have to open this object explorer details page . So now I've got 10+ query pages open. I want to go check out the details of a table and open an SP. In 2005 this was so simple. It was effortless. In 2008 I have to play with tabs or do all sorts of weird stuff. It's aggravating. The information is organized poorly and is very unhelpful. If they were going to make it configurable, they should have made it configurable to the point that it would mirror 2005. Far better organization there. But that's just my opinion.-5 stars out of 5 for 2008 in my book. I've had nothing but trouble with it. Installing, utilizing, and so forth. It's default settings aren't even intelligent or useful. You have to go and reconfigure the entire thing before you can utilize it with a medium or larger database. It's like it's default setup for small databases or something. I mean, sure, no matter what you'll likely have to reconfigure something. But some of the default settings blocked remote login to my database . huh? Any respectable sized database is going to be remote The state of those default setting is silly stupid in my opinion.