“Save changes is not permitted” when changing an existing column to be nullable

会有一股神秘感。 提交于 2019-11-28 10:48:03

I've found the solution. Go to "Tools > Options > Designers > Table and Database Designers":

It's a setting in SSMS.

Tools - Option - Designers - Prevent saving changes that require table re-creation

I had the same problem; wanting to Allow Nulls for a column that previously did not. Consider MS's warning to NOT turn off this option: http://support.microsoft.com/kb/956176

And their recommendation to use Transact-SQL to solve the problem, e.g. alter table MyTable alter column MyDate7 datetime NULL

This solved it for me.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!