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

ぃ、小莉子 提交于 2019-12-20 17:47:12

问题


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?


回答1:


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.




回答2:


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"




回答3:


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.




回答4:


It is now available on SqlServer Mgt Studio 2014.




回答5:


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



来源:https://stackoverflow.com/questions/14764102/ssms-object-explorer-select-top-n-rows-missing-when-connected-to-azure-db

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!