SqlServer2008修改表时出现“save changes is not permitted…”

WBOY
풀어 주다: 2016-06-07 15:40:14
원래의
1224명이 탐색했습니다.

最近使用SqlServer2008,发现在修改完表字段名或是类型后点击保存时会弹出一个对话框,对话框内容大致如下 Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made

最近使用SqlServer2008,发现在修改完表字段名或是类型后点击保存时会弹出一个对话框,对话框内容大致如下

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created

如下图:

SqlServer2008修改表时出现“save changes is not permitted…”

如果点击 Save Text File ,会保存一个文本文件,感觉没什么作用,内容如下图:

SqlServer2008修改表时出现“save changes is not permitted…”

点击 Cancel 后会弹出另一个对话框,如下图:

SqlServer2008修改表时出现“save changes is not permitted…”

点击OK就关闭了对话框,当然我们的修改肯定也没有保存上。

解决方法

打开工具-选项,如下图:

SqlServer2008修改表时出现“save changes is not permitted…”

在选项对话框中选择:Designers—Table and DataBase Designers ,将右边的Prevent saving changes that require table re-creation 前的勾选去掉,如下图:

SqlServer2008修改表时出现“save changes is not permitted…”

点击OK后,表的结构就可以随意修改保存了

관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!