SSMS Object Explorer - Select Top N Rows missing w

2020-06-03 00:05发布

I just upgraded my SSMS to 2008 R2. I'm missing the option to select the top 1000 rows from a table, like this:

enter image description here

Mine looks like this:

enter image description here

I know how to change the number of rows that are displayed, but the options aren't there at all. I saw that someone submitted a bug for this a few years ago, but there was no workaround, and I'm not sure what to do. Any ideas?

EDIT - Azure Problem?

I just used SSMS to open my local SQL Server, and I get the option to select the top 100 rows. But in my other SSMS instance, the one that is connected to my Azure DB, I don't see it. Is it possibly an Azure limitation?

5条回答
何必那么认真
2楼-- · 2020-06-03 00:43

It is now available on SqlServer Mgt Studio 2014.

查看更多
虎瘦雄心在
3楼-- · 2020-06-03 00:47

Based on this answer, I believe it is a limitation of SQL Azure. I have not been able to find any additional information that would allow you to work around the issue.

查看更多
forever°为你锁心
4楼-- · 2020-06-03 00:51

As of 06/04/2015 MS has published a hotfix to solve this issue.

http://support.microsoft.com/en-us/kb/3011055

"An update is available that enables "Select Top 1000 Rows" option for tables and views of SQL Azure database"

查看更多
Fickle 薄情
5楼-- · 2020-06-03 00:57

Check that you have correct values in the SQL Server Object Explorer Settings:

enter image description here

查看更多
老娘就宠你
6楼-- · 2020-06-03 00:59

You do not have this option in SSMS while working with SQL Azure, you have to exexute the query yourself ... select top 10000 from tablename

There are few other options as well in SSMS which are not displayed in case of SQL Azure.

This is an excpected behaviour for SQL Azure.

查看更多
登录 后发表回答