SQL Server Management Studio中的智能感知功能无法使用。可能的原因是什么?

3

我已经使用SSMS 2008工作了一个月,同时我已经启用了Intellisense。

enter image description here

不确定为什么它就是无效的。可能原因是什么?


3
你是否使用脚本来选择数据库?使用use db_name命令。在这种情况下,我遇到了智能感知的问题,后来开始从UI中显示的列表中选择数据库。 - sundar
@sundar 没有使用 use db_name... - Pritesh
2
你正在使用SSMS 2008 - 但是你要访问的数据库是否也是2008或更新版本?如果不是,智能感知将无法工作...使用SELECT @@ Version进行检查 - 你得到了什么版本号? - marc_s
@marc_s 的数据库是 SQL Server 2005。 - Pritesh
3
智能感知仅适用于 SQL Server 2008 及更新版本的数据库。 - marc_s
1个回答

0

我们在使用Azure SQL DB时,在不是dbmanager的帐户上,在SSMS版本17.9、18.0和18.1中都遇到了Intellisense无法工作的相同问题。

@ sundar的建议很有帮助,即使它报告错误也是如此。

Msg 40508, Level 16, State 1, Line 1
USE statement is not supported to switch between databases. Use a new connection to connect to a different database.

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接