MSSQL Error: Saving changes is not permitted.
페이지 정보
본문
MS-SQL 2008에서 테이블의 속성을 변경후 저장할때 에러가 발생할때
While creating and editing a database in SQL Server 2008 I ran into a brick wall, or a 'by design' feature of the Database Management Studio.
When you design a table in a database and then try to make a change to a table structure that requires the table to be recreated, the Database Management Studio will not allow you to save the changes. This is caused by a configuration setting that results in the following dialog:
This dialog states: "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."
You can only react by clicking the Cancel button. And then Management Studio shows this dialog:
So what do you want to do to configure the setting with the value you want (should be the default setting!)?
Go to: Tools > Options
Designers > Table and Database Designers
And uncheck the option: "Prevent saving changes that require table re-creation". Once you save the changes it will work.
관련자료
http://www.codeproject.com/Tips/370734/SQL-Server-2008-Error-Saving-changes-is-not-permit
While creating and editing a database in SQL Server 2008 I ran into a brick wall, or a 'by design' feature of the Database Management Studio.
When you design a table in a database and then try to make a change to a table structure that requires the table to be recreated, the Database Management Studio will not allow you to save the changes. This is caused by a configuration setting that results in the following dialog:
This dialog states: "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."
You can only react by clicking the Cancel button. And then Management Studio shows this dialog:
So what do you want to do to configure the setting with the value you want (should be the default setting!)?
Go to: Tools > Options
Designers > Table and Database Designers
And uncheck the option: "Prevent saving changes that require table re-creation". Once you save the changes it will work.
관련자료
http://www.codeproject.com/Tips/370734/SQL-Server-2008-Error-Saving-changes-is-not-permit
댓글목록
등록된 댓글이 없습니다.