Just started a new job and everything was already installed on my machine. It's not exactly a friendly bunch. (early days)
I have SQL Server 2008 R2 and I see I have Visual Studio 2010 SP1.
I don't have any intellisense in SQL Server Management Studio.
Googled and found hundreds of hits!!!
Ultimately I have found this link:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2507770&kbln=en-us#step1
The problem is I have so many hotfixes to choose from and I don't know which one Do you know?
thanks a lot
On the Tools menu, click Options. Expand Text Editor, expand Transact-SQL, and then click IntelliSense.
IntelliSense is not available when the Query Editor is connected to earlier versions of the Database Engine. IntelliSense is turned off in the Database Engine Query Editor when the SQLCMD mode is set on.
How to Enable IntelliSense Feature in SSMS. Open SSMS, click Tools -> Options -> Expand Text Editor -> Expand Transact-SQL and click on IntelliSense as shown in the snippet below. Under Transact-SQL IntelliSense Settings ensure “Enable IntelliSense” checkbox is enabled.
To refresh the local cache of the Microsoft IntelliSense feature, you can either use the IntelliSense window (Edit > IntelliSense) and click on the Refresh Local Cache option, or just use the keyboard shortcut key CTRL+SHIFT+R.
First of all - intellisense in SQL Server Management Studio 2008 and newer only works against databases that are also 2008 or newer - it will not work against a 2005 database.
Next - have you made sure intellisense is enabled in SSMS ?
Then - if it is enabled - sometimes it helps to refresh the local cache:
Late answer but can be useful to other readers:
If you installed Visual Studio 2010 SP1 and you’re using SQL Server 2008 R2, it is likely that your IntelliSense may stop working. There is a fix for this and it was released in SQL Server 2008 R2 SP1.
For more information please read this KB article: https://support.microsoft.com/en-us/kb/2531482
According this article http://www.sqlshack.com/using-and-troubleshooting-sql-server-intellisense-sql-server-2012-higher/, here are some of the common reasons why IntelliSense isn’t working:
Firstly check if IntelliSense is enabled as explained earlier in the article. Also ensure that the Statement Completions settings are correct.
Ensure that there is no syntax error anywhere on the page before your cursor, resolving the code error should re-activate IntelliSense.
IntelliSense does not work inside comments, uncomment the section to be able to get the suggestions.
IntelliSense does not work inside a quotes. Be sure to place your cursor outside of any quotes.
Ensure that you are connected to a SQL Server Instance or a database project.
IntelliSense is only supported on SQL Server 2008 and higher.
IntelliSense does not work for encrypted objects.
Not all syntax is supported.
Are you running in SQLCMD mode? Unfortunately IntelliSense is not supported in command mode. Return to regular mode to get IntelliSense.
IntelliSense is currently not supported for SQL Azure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With