SQL Server Management Studio - Adding/Moving Columns require drop and re-create?

前端 未结 5 1627
轻奢々
轻奢々 2021-02-04 03:47

Why do I get message that the table needs to dropped and re-created when I add/move columns? I believe this happens after adding foreign key constraints.

What can I do t

5条回答
  •  滥情空心
    2021-02-04 04:26

    There are bugs in SSMS 2008 R2 (and older) that are useful to know:

    • when the table data is changed, ерушк rendering in SSMS is autorefreshed by SSMS in its already opened tabs (windows) - one should press Ctrl+R to refresh. The options to force refreshing do not appear in SSMS GUI - through buttons, menus or context-sensitive options (on right-clicking)
    • when a (table or database) schema is modified, like adding/deleting/removing a column in a table, SSMS does not reflect these changes in already opened tabs(windows) even through Ctrl+R, one should close and reopen tabs(windows)

    I reported it few years ago through Microsoft Connect feedback, but bugs were closed due to it is "by design"

    Update:
    This is strange and irritating to see in desktop product developed during 2 decades, while this (autorefreshing) is being done by most webapplications in any browser

提交回复
热议问题