SQL Server 2008智能感知问题

5

可能是重复问题:
失去了IntelliSense

我在AdventureWorks数据库中创建了一个名为CustomerTraining的SQL Server 2008模式。然后创建了一个名为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')

我对此没有任何问题,但是在Intellisense中,AdventureWorks数据库下的CustomerTraining模式未显示……

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

2个回答

13

按下 Ctrl+Shift+R刷新 IntelliSense 缓存

或者如果这不起作用(一些 SSMS 插件会劫持此组合键),可以通过菜单选项 Edit -> IntelliSense -> 刷新本地缓存 进行操作。

菜单截图


4

按下Ctrl+shift+R可以刷新缓存吗?


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接