Schema changes not updating in Intellisense in SQL 2008 (SSMS)

前端 未结 3 1410
旧巷少年郎
旧巷少年郎 2020-12-20 11:18

I\'ve notice an issue - it feels like a bug but I suspect a \'feature\' - in SSMS in SQL Server 2008.

I have various tabs open, for example an alter table script in

3条回答
  •  梦毁少年i
    2020-12-20 11:54

    And no sooner than I post the question, I find the right phrase for a successful search on google.

    Yes folks, this is indeed a feature! The intellisense relies on a local cache which you need to manually refresh. See:

    http://blogs.msdn.com/dtjones/archive/2008/09/11/refreshing-the-intellisense-cache.aspx

    Also: Ninjapig's alternative

    It's more than a bit annoying IMHO, but I'm sure the experts would argue there is some important need for it to be this way. After further checking, I've been able to add a 'Refresh Local Cache' button to one of the toolbars. Having quickly tried a refresh, it appears that the refresh takes some time, because Intellisense went from being out of date, to non-existent, and back to updated or a minute or so.

    I'm tempted to pull this question, but I'll leave it here in case it helps someone else with this issue, or until someone else decides otherwise...

提交回复
热议问题