• Error were encountered during the save process. Some database objects were not saved


    Have you ever faced a situation where you wanted to modify your existing table and was bugged with following error popup.

    Error were encountered during the save process. Some database objects were not saved.

      

    This is because by default saving changes to the table that requires table re-creation is disabled. To fixed this issue we need to enable the option to allow save on table re-creation. Below steps explain the same.

    Step 1: Open the SQL ServerManagement Studio.(Ctrl + R -> SSMS)

    Step 2:  Click on the Tools tab and click on Options...link.

    Step 3: This will open a popup window.  

    Step 4: From the left pane expand the Designers node.Table Options screen will be displayed in the right part of window.

      

    Step 5: Check the last option under Table Options section.

      



    Click the OK button and save the changes. This will fix your issue.

    原因二:

    要添加外键的表中的部分数据的id,在主表中不存在。添加关系之前要删除到这些对应不上的数据。

  • 相关阅读:
    shell 参数个数
    小坑也难受
    MaHua简介
    airflow Operators
    datax
    T-SQL 更新表操作
    T-SQL时间函数
    linux学习网站
    好看的页面
    函数-1
  • 原文地址:https://www.cnblogs.com/cw_volcano/p/2564014.html
Copyright © 2020-2023  润新知