Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make SQL Management Studio see new table?

I am using SQL server 2008. If I am working on the Management Studio's query analyser, and I go ahead and create a new table or view, then the SSMS does not see the newly created object for intellisense.

What do I do to make SSMS see and autosuggest from the newly created tables/views too?

like image 749
Saurabh Kumar Avatar asked Oct 04 '10 04:10

Saurabh Kumar


People also ask

How do I add a table to SQL Server Management Studio?

In SSMS, in Object Explorer, connect to the instance of Database Engine that contains the database to be modified. In Object Explorer, expand the Databases node and then expand the database that will contain the new table. In Object Explorer, right-click the Tables node of your database and then click New Table.

How do I show tables in SQL Server Management Studio?

To show table properties in the Properties window. In Object Explorer, select the table for which you want to show properties. Right-click the table and choose Properties from the shortcut menu. For more information, see Table Properties - SSMS.

Why is my table not showing in SQL?

For those using SQL Server Management Studio 2016 you simply need to hit 'F5' or go to 'View > Refresh' and your recently added tables should appear.

How can I see different tables in SQL?

In SQL, to fetch data from multiple tables, the join operator is used. The join operator adds or removes rows in the virtual table that is used by SQL server to process data before the other steps of the query consume the data.


2 Answers

Have you tried to refresh the intellisense cache

Edit -> Intellisense -> Refresh Local Cache (CTRL+Shift+R)

like image 66
R Quijano Avatar answered Sep 21 '22 05:09

R Quijano


Go to the menus:

Edit > Intellisense > Refresh local cache 

or press the shortcut key: Ctrl-Shift-R

like image 25
marc_s Avatar answered Sep 23 '22 05:09

marc_s