SQL Management Studio won't recognize a table exists after scripted create

前端 未结 4 1223
我在风中等你
我在风中等你 2020-12-24 01:49

So if I create a new table in the query editor in SQL Management Studio after hitting refresh on the DB I can see and work with that table. However if I want to run another

相关标签:
4条回答
  • 2020-12-24 02:16

    I right-click on the Tables and Select Refresh from the context-sensitive menu (Ctrl-R works too)

    0 讨论(0)
  • 2020-12-24 02:24

    If you prefer, you can use the menu to refresh the cache:

    Edit>Intellisense>Refresh Local Cache

    The good thing using the menu, is that you will learn some new Intellisense hot-keys...

    SQL Server Management Studio Intellisense doesn’t work after schema changes

    0 讨论(0)
  • 2020-12-24 02:24

    You probably did what I always do. I often create a table while connected to the wrong database, or the default database. For me, the default database is 'master' so I have a lot of garbage in my master DB :)

    Randy

    0 讨论(0)
  • 2020-12-24 02:34

    Press Ctrl-Shift-R to refresh the intellisense.

    0 讨论(0)
提交回复
热议问题