Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Cannot Alter Microsoft SQL Server 2008 Table Object in Design Mode

23 Oct 2009 0  
Cannot alter Microsoft SQL Server 2008 Table Object in design mode

Overview

Couple of week ago, I saw some posted messages not only at CodeProject but also on some other technical database forums; most of the posted message were like "Cannot alter Microsoft SQL Server 2008 Object (design mode)". So I thought that the solution should be shared with you although it's a very effortless way to do.

This article is not about sharing some programming ideas / concepts and some excellent code snippets. It's about sharing the necessary settings that you need to change to work in design mode simply as you did in Microsoft SQL Server 2000.

Solution

As we discussed earlier about the dilemma, actually this is not a problem, but some times it seems to me that it just creates a little panic when working with database object in design mode.  The following figure - A shows the warning message if your SQL Server 2008 has the default settings, and figure - B shows the Option window of SQL Server 2008.  

 

Figure - A  

Well let’s start….. To change the settings, you need to follow the instructions listed below.

Step(s)

  • Open Microsoft SQL Server 2008, Click on the tools menu and select Options.
    A window will appear with the various SQL Server settings options.

  • Select the Designers node and after that, click on the Tables and Database Designer sub node. Here you will find some option of a Table. The following figure - B shows the general options of SQL Server database Table object.

    Figure - B
  • You will find a checkbox (marked in orange color) named “Prevent saving changes that require table re-creation”. By default, the value of the checkbox is checked. You just need to uncheck the checkbox, that’s all.

For more information about the warning message can  be found at this link. 

Conclusion  

I hope that this might be helpful to you. 

History

  • 16th October 2009: Initial post

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here