我想将多个表中的每一列的默认值设置为 Null。我可以在 information_schema.columns.column_default 下查看默认约束。当我尝试运行
update information_schema.columns set column_default = Null where table_name = '[table]'
它时会抛出“错误:无法更新视图提示:您需要一个无条件的 ON UPDATE DO INSTEAD 规则。”
解决此问题的最佳方法是什么?