Click here to Skip to main content
15,860,943 members
Articles / Database Development / SQL Server / SQL Server 2008

Cannot Alter Microsoft SQL Server 2008 Table Object in Design Mode

Rate me:
Please Sign up or sign in to vote.
4.58/5 (52 votes)
23 Oct 2009CPOL2 min read 98K   34   33
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.  

 Image 1

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.

    Image 2
    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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions

 
GeneralMy vote of 5 Pin
Miguel Pinheiro | IT18-Oct-13 4:10
professionalMiguel Pinheiro | IT18-Oct-13 4:10 
GeneralRe: My vote of 5 Pin
Md. Marufuzzaman18-Feb-15 4:40
professionalMd. Marufuzzaman18-Feb-15 4:40 
GeneralMy vote of 5 Pin
ravikant.sharma0124-Jan-13 19:39
ravikant.sharma0124-Jan-13 19:39 
GeneralRe: My vote of 5 Pin
Md. Marufuzzaman18-Feb-15 4:40
professionalMd. Marufuzzaman18-Feb-15 4:40 
GeneralMy vote of 5 Pin
littlepinkii26-Jun-12 17:53
littlepinkii26-Jun-12 17:53 
GeneralRe: My vote of 5 Pin
Md. Marufuzzaman26-Jun-12 19:41
professionalMd. Marufuzzaman26-Jun-12 19:41 
GeneralMy vote of 5 Pin
Roberto Rangel13-Jun-12 5:47
Roberto Rangel13-Jun-12 5:47 
GeneralRe: My vote of 5 Pin
Md. Marufuzzaman26-Jun-12 12:13
professionalMd. Marufuzzaman26-Jun-12 12:13 
QuestionSuperb Pin
mohit_savita24-Mar-12 23:21
mohit_savita24-Mar-12 23:21 
AnswerRe: Superb Pin
Md. Marufuzzaman26-Jun-12 12:14
professionalMd. Marufuzzaman26-Jun-12 12:14 
GeneralMy vote of 1 Pin
Mel Padden20-Mar-12 4:34
Mel Padden20-Mar-12 4:34 
GeneralMy vote of 4 Pin
PJ du Preez2-Oct-11 21:39
PJ du Preez2-Oct-11 21:39 
It's the obvious, common sense type things people miss. Thanks for pointing this out!
GeneralRe: My vote of 4 Pin
Md. Marufuzzaman5-Oct-11 23:54
professionalMd. Marufuzzaman5-Oct-11 23:54 
GeneralMy vote of 2 Pin
luisnike1931-Mar-11 11:36
luisnike1931-Mar-11 11:36 
GeneralGood One Pin
sashidhar25-Oct-09 19:37
sashidhar25-Oct-09 19:37 
GeneralRe: Good One Pin
Md. Marufuzzaman29-Oct-09 3:38
professionalMd. Marufuzzaman29-Oct-09 3:38 
GeneralRe: Good One Pin
sashidhar29-Oct-09 5:14
sashidhar29-Oct-09 5:14 
GeneralMy vote of 1 Pin
Brad Raulston24-Oct-09 5:48
Brad Raulston24-Oct-09 5:48 
GeneralRe: My vote of 1 Pin
Md. Marufuzzaman25-Oct-09 18:21
professionalMd. Marufuzzaman25-Oct-09 18:21 
GeneralRe: My vote of 1 Pin
g0got216-Apr-10 2:30
g0got216-Apr-10 2:30 
GeneralRe: My vote of 1 Pin
Md. Marufuzzaman16-Apr-10 3:16
professionalMd. Marufuzzaman16-Apr-10 3:16 
GeneralFix the Figure reference Pin
Middle Manager21-Oct-09 2:47
Middle Manager21-Oct-09 2:47 
GeneralRe: Fix the Figure reference Pin
Md. Marufuzzaman23-Oct-09 21:46
professionalMd. Marufuzzaman23-Oct-09 21:46 
GeneralCool Pin
gaurav_verma_mca20-Oct-09 22:33
gaurav_verma_mca20-Oct-09 22:33 
GeneralRe: Cool Pin
Md. Marufuzzaman23-Oct-09 21:26
professionalMd. Marufuzzaman23-Oct-09 21:26 

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.