简体   繁体   中英

SSMS Object Explorer - Select Top N Rows missing when connected to Azure DB

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

在此输入图像描述

Mine looks like this:

在此输入图像描述

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?

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.

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"

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.

它现在可在SqlServer Mgt Studio 2014上使用。

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

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM