Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense not updating in Sql Server

Given: A table named Table1 that has the following columns:

  • ID
  • ColumnA
  • ColumnB

Typing Table1. in Microsoft SQL Server Management Studio provides me with a list of columns for that table.

Scenario:

I open up Table1 in the design view and add ColumnC to it. I save Table1 and refresh it to see the new column, Column3 show up in the Object Explorer.

Going back to the Query Window, I type Table1. but Column3 is not available to be selected. Typing it out gives me a syntax error but running a query with the column in it works as expected.

Is there a menu item somewhere that I need to click to get Intellisense to pick up the DDL changes I have made?

like image 214
aarona Avatar asked Mar 14 '11 04:03

aarona


People also ask

How do I refresh SQL Server IntelliSense?

Select the Edit menu, select IntelliSense, then select Refresh Local Cache. Use the CTRL+Shift+R keyboard shortcut.

Why is SQL IntelliSense not working?

The first step of troubleshooting IntelliSense is to check and make sure IntelliSense is enabled in the settings. Launch SSMS and go to menu Tools >> Options. In the Options window, expand TextEditor >> Transact-SQL >> IntelliSense. Make sure Enable IntelliSense is selected.

How do I get IntelliSense to work through SSMS?

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.

How do I enable SQL IntelliSense?

On the Tools menu, click Options. Expand Text Editor, expand Transact-SQL, and then click IntelliSense.


1 Answers

Edit -> Intellisense - Refresh Local Cache

That should do it.

Ctrl-Shift-R is the shortcut.

like image 187
nycdan Avatar answered Oct 02 '22 11:10

nycdan