问题
The SQL Server 2008 R2 Management Studio intellisense stopped working a month ago though it is enabled. I read that this issue may be caused by the .NET framework 4.0 SP1 and tried some of the suggestions but nothing worked:
- I have installed the cumulative update package:
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64
- I re-registered the
TextMgrP.dll
Any other suggestions what can be done?
The SSMS version is: Microsoft SQL Server Management Studio 10.50.1617.0
回答1:
Make sure you are connected to SQL Server 2008 Edition. IntelliSense does not work with the previous versions of SQL Server.
IntelliSense should be enabled. There are two ways to verify whether IntelliSense is enabled or not. a) From Toolbar b) Go to Tools -> Options -> Text Editor -> Transact-SQL -> IntelliSense
IntelliSense should be refreshed with the latest changes in database. a) Press CTRL+SHIFT+R b) Go to Edit -> IntelliSense -> Refresh Local Cache
Go to Tools -> Options -> Text Editor -> Transact-SQL -> General -> IntelliSense Select Auto List Members and Check Parameter Information.
回答2:
I got the same problem.
For me the only thing it works was to select the database manually from the source code.
I just add
use MYDATABASE;
GO
Im my case it looks like that the source code couldn't be associated to a default database.
来源:https://stackoverflow.com/questions/13270186/sql-server-2008-r2-intellisense-doesnt-work