Click here to Skip to main content
15,885,546 members
Articles / Database Development / SQL Server / SQL Server 2008
Tip/Trick

SQL Server: How to Refresh Intellisense Cache

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
20 Oct 2012CPOL 45.8K   1   3
How to Refresh Intellisense Cache in SQL Server

Introduction

Intellisense in SQL Server 2008 is a time saving feature. But sometimes while writing queries, it starts underlining some object names or some column names which are already added in the database and these are correct but intellisense marks them as a MISTAKE.

In long queries, it creates confusion. I have seen my fellow DBAs turning off the feature to avoid confusion and mental stress;).

Also, sometimes intellisense is not helpful enough for auto-complete feature.

Solution

A simple solution for this problem is to refresh local cache by using Ctrl + Shift + R. So it should start marking only real mistakes. You can also refresh local cache from Edit--- >IntelliSense --- > Refresh Local Cache.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader CureMD
Pakistan Pakistan
Aasim Abdullah is working as SQL Server DBA with CureMD (www.curemd.com) based in NY, USA. He has been working with SQL Server since 2007 (Version 2005) and has used it in many projects as a developer, administrator, database designer. Aasim's primary interest is SQL Server performance tuning. If he finds the time, he like to sketch faces with graphite pencils.

Comments and Discussions

 
GeneralÓtimo artigo Pin
thifsantonio20-Apr-15 4:44
thifsantonio20-Apr-15 4:44 
Ótimo artigo, obrigado por compartilhar esta informação. Me ajudou muito.
Questionkudos for the key combination CTRL+SHIFT+R Pin
Member 1052189318-Dec-14 13:55
Member 1052189318-Dec-14 13:55 
QuestionMost helpful Pin
Chris Nevill5-Jul-13 1:06
Chris Nevill5-Jul-13 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.