sql-server-2005 - SQL Server Management Studio 2008 智能感知

标签 sql-server-2005 sql-server-2008 intellisense ssms

由于智能感知功能,我刚刚安装了 SQL Server Express 2008。它起初有效,但后来停止工作。寻找选项检查和后来咨询谷歌我发现它看起来像如果您连接到 SQL Server 2005 数据库,Microsoft 将禁用智能感知。

这绝对正确吗?
对此有什么解决方案(某些注册表“开关”)?

最佳答案

如果您希望看到添加的功能,请在 Connect 上为该请求投票.以下是团队关于它被丢弃的原因的反馈:

Let me share product team’s information about the version support of IntelliSense. This was a truly by-design from the beginning of IntelliSense project and it was a part of business decision. Implementation of IntelliSense requires a full fidelity of engine parser reconstruction in client side using managed code base. Support of multiple server versions means design and implementation of multiple versions of parsers and related infra in parallel. This multiplies time and cost to develop, test and support. At the same time, the core module is an important product base that enables not only IntelliSense feature but also other products including Upgrade Advisor to analyze scripts; in the long term, it is potentially any feature that needs syntactic and semantic understanding of Transact-SQL language.

In CTP5 and CTP6, IntelliSense had a known issue that it did not correctly check the server version so CTP users could connect any version of SQL Server with IntelliSense. While some users didn't notice it, IntelliSense was not correctly working as desired. The impact was that IntelliSense had a high potential to guide users to script incorrect Transact-SQL or to false-negatively indicate that a script has errors while it is perfectly valid in those versions.

Considering the number one goal of IntelliSense is to increase productivity of authoring complex query or stored procedure (or simply Transact-SQL scripts), this issue was regarded as a factor to decrease productivity which is a huge negative impact from a new feature.

In RC0, this known issue was corrected that IntelliSense checks the server version and provides its feature on supported version which is SQL Server 2008.

As a version one, IntelliSense is enabled on a subset of Transact-SQL language. It is because the large scope of work to implement lexer, parser, binder and script document object model in managed code for entire language scope. The product team is moving forward with a focus on expanding the language support scope.

I hope this information provides the background information at minimum why the target version was selected on SQL Server 2008 only.



使用 RTM 构建的任何人都应该考虑可用的 CU1(累积更新 1)构建 here因为解决了相当多的 IntelliSense 错误。

关于sql-server-2005 - SQL Server Management Studio 2008 智能感知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/250127/

相关文章:

debugging - 一个WebGL智能IDE/环境/解析器

jQuery Mobile - Visual Studio 2010 的智能感知

sql - 如何将数据库图从一台服务器移动到另一台服务器

sql - 如何附加数据库?

sql-server-2008 - 来自开发人员 POV 的 SQL Server 2008 和 SQL Server 2008 R2 之间的差异

SQL Server 2008 区分大小写的唯一列

sql-server-2008 - 选择、修改和插入同一个表

sql-server-2005 - 我应该向小表添加索引吗?

sql-server-2005 - SQL Server 2005和2008在同一开发人员机器上?

c++ - IntelliSense PCH 警告不会消失