为什么我的表没有显示在 SQL Server Management Studio 的智能感知中?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1347386/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-01 03:22:52  来源:igfitidea点击:

Why are my tables not showing up in SQL Server Management Studio's intellisense?

sqlsql-server

提问by Sergio Tapia

I can't pull up my tables so I can use them in my stored procedure. Any reason why they aren't showing?

我不能拉出我的表,所以我可以在我的存储过程中使用它们。他们不显示的任何原因?

alt text

替代文字

回答by Svetlozar Angelov

Have you just created them? Intellisense data used by it is cached. Try to refresh it

你刚刚创建了它们吗?它使用的智能感知数据被缓存。尝试刷新它

Edit -> IntelliSense -> Refresh Local Cache

编辑 -> IntelliSense -> 刷新本地缓存

回答by marc_s

Have you done a "Edit > Intellisense > Refresh local cache" lately??

你最近有没有做过“编辑 > 智能感知 > 刷新本地缓存”??

Keyboard shortcut: Ctrl + Shift + R

键盘快捷键:Ctrl + Shift + R

After adding lots of tables, intellisense gets out of sync at times...

添加大量表后,智能感知有时会不同步......

Marc

马克

回答by M3nd3z

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.

对于使用 SQL Server Management Studio 2016 的用户,您只需点击“F5”或转到“查看 > 刷新”,您最近添加的表就会出现。

回答by Aki

If any of the above answer is not working for you, then

如果以上任何一个答案对您不起作用,那么

Expand your database >> Security >> Users >> double click user.

展开您的数据库 >> 安全 >> 用户 >> 双击用户。

Under 'Select a page' >> Membership >> Make sure db

在“选择页面”下>>会员资格>>确保数据库

回答by Yuresh Karunanayake

Right click on the 'Tables' and select 'Refresh'

右键单击“表格”并选择“刷新”