sql-server-2008 - SQL Server 2008 智能感知问题

标签 sql-server-2008 intellisense

这个问题在这里已经有了答案:




10 年前关闭。




Possible Duplicate:
Lost the IntelliSense



我在 SQL Server 2008 中在 AdventureWorks 数据库中创建了名为 CustomerTraining 的架构。然后创建一个名为 Customer 的表,如下所示:
create schema CustomerTraining

create table CustomerTraining.Customer
(
CustomerID int not null,
CustomerName nvarchar(25) not null,
TerritoryID int  null,
AccountNumber nvarchar(20) not null,
CustomerType nvarchar(20) not null,
CustomerAddress nvarchar(20) not null,
CustomerPhone nvarchar(20)  null,
CustomerStateCode nchar(2) null
)

然后我开始插入一些记录:
insert into AdventureWorks.CustomerTraining.Customer
values(1,'Prateek Singh','1','A4B8934561','Internal','Anna Nagar','7418773929','TN')

这一切对我来说都很好,但在智能感知中它没有在 AdventureWorks 数据库下显示 CustomerTraining 模式......

为什么不显示?有人可以帮忙吗......

最佳答案

按 Ctrl+Shift+R 到 refresh the intellisense cache .

或者如果这不起作用(一些 SSMS 插件劫持了这个组合)通过菜单选项来做 Edit -> IntelliSense -> Refresh Local Cache
Menu screenshot

关于sql-server-2008 - SQL Server 2008 智能感知问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7215211/

相关文章:

typescript - Brackets.io 内置了对 TypeScript 的支持

sql-server-2008 - SSIS - 将值从 T-Sql 任务传递到数据流任务

Sql Server 2008 - 将本地化日期时间列转换为 UTC

sql-server - 枢轴和级联空列

sql - 查询嵌套查询结果中两列的位置

c# - 配置 VS 2010,使其不添加 new EventHandler(...);通过 += 添加 EventHandler 时

sql - 同步表 - UPDATE INSERT DELETE 的顺序重要吗?

c# - 智能感知在我输入时删除代码

visual-studio-2010 - 在 VS2010 中丢失了一些智能感知

node.js - VS Code Intellisense 适用于 Javascript 文件但不适用于 TypeScript 文件