Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliSense is not working in SQL Server Management Studio

We use SQL Server Management Studio 2008 R2. IntelliSense works with SA account perfectly. But it is not working with Windows Authentication user. The user has access master db with db_owner role but it's not sysadmin.

How do I fix this issue?

like image 587
Ethem Kuloglu Avatar asked Jul 23 '15 07:07

Ethem Kuloglu


People also ask

Why is my IntelliSense not working in SSMS?

If IntelliSense is still not working, try refreshing the cache. Open a query window. From the menu go to Edit >> IntelliSense >> select Refresh Local Cache.

How do I enable IntelliSense in SQL Server Management Studio?

Go to Tools -> Options -> Text Editor -> Transact-SQL -> IntelliSense -> Enable IntelliSense, as shown in the snippet below. Open New Query Window -> Go to Edit -> Expand IntelliSense -> Click Refresh Local Cache or press the shortcut key (CTRL + SHIFT + R) to refresh the local cache as shown in the snippet below.

How do I refresh IntelliSense in SQL Server Management Studio?

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

What is Microsoft SQL Server Management Studio Transact-SQL IntelliSense?

The editors in SQL Server Management Studio support Microsoft IntelliSense options that reduce typing, provide quick access to syntax information, or make it easier to view the delimiters of complex expressions.


2 Answers

You can try solution from these questions1 or questions2 and questions3.
Or please try these steps as below:

  • Enable IntelliSense:
    • For all query windows, please go to Tools >> Options >> Text Editor >> Transact-SQL >> IntelliSense, and select Enable IntelliSense.
    • For each opening query window, please go to Query >> Intellisense Enabled.
  • Enable statement completion: please go to Tools >> Options >> Text Editor >> Transact-SQL >> General, and check on Auto list members and Parameter information boxes.
  • Refresh IntelliSense local cache: please go to >> Edit >> IntelliSense >>Refresh Local Cache or use the CTRL+Shift+R keyboard shortcut to refresh.
  • Wait a minute or two for the Refresh to finish before trying again.
like image 151
Roman Marusyk Avatar answered Sep 30 '22 04:09

Roman Marusyk


I had the same issue. Everything was enabled to ensure proper Intellisense functions, but didn't work. I realized I had SQLCMD mode enabled by default. Disabling it restored Intellisense functionality :)

like image 45
Chow Lover Avatar answered Sep 30 '22 06:09

Chow Lover