Click here to Skip to main content
15,879,184 members
Articles / Database Development
Tip/Trick

Error Message: Saving Changes Is Not Permitted

Rate me:
Please Sign up or sign in to vote.
4.62/5 (5 votes)
3 May 2016CPOL 10.9K   6
How to overcome an error message preventing you from saving a change in an SQL Server database

Introduction

When a change is made directly into a table, there might be cases where saving isn't possible. This tip explains the reasons and the possible actions to take in such cases.

Background

SQL Server Management Studio is a powerful tool which can allow accessing and changing database even if they are currently used. In many cases, you will be the one using the database, as part of an ongoing development so there is no risk recreating tables or even deleting data. In such case, you can avoid such error messages each time you want to make a change.

The Error Message

When you make a change in a table, which requires the table to be recreated, you might see the following error message:

Image 1

How To Avoid It

Go to Settings. Then go to Designers. You will see the "Prevent saving changes that require table re-creation" setting checked. Uncheck it and press OK. 

Image 2

Now you can make changes in tables and queries without getting this error message.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO Secured Globe, Inc.
United States United States
Michael Haephrati is a music composer, an inventor and an expert specializes in software development and information security, who has built a unique perspective which combines technology and the end user experience. He is the author of a the book Learning C++ , which teaches C++ 20, and was published in August 2022.

He is the CEO of Secured Globe, Inc., and also active at Stack Overflow.

Read our Corporate blog or read my Personal blog.





Comments and Discussions

 
QuestionVote of 2 Pin
KBZX50009-May-16 2:16
KBZX50009-May-16 2:16 
AnswerRe: Vote of 2 Pin
Michael Haephrati9-May-16 3:25
professionalMichael Haephrati9-May-16 3:25 
SuggestionGood tip, but Pin
Emily Heiner3-May-16 4:16
Emily Heiner3-May-16 4:16 
GeneralRe: Good tip, but Pin
Michael Haephrati5-May-16 10:00
professionalMichael Haephrati5-May-16 10:00 
Fixed. Thanks for your comment.
- Michael Haephrati מיכאל האפרתי

PraiseGreat tip Pin
The Server Guy3-May-16 1:13
The Server Guy3-May-16 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.