Click here to Skip to main content
Click here to Skip to main content

Cannot Alter Microsoft SQL Server 2008 Table Object in Design Mode

By , 23 Oct 2009
 

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

About the Author

Md. Marufuzzaman
CEO
Bangladesh Bangladesh
Member
He is the founder & CEO of MNH Technologies and working for urban and rural sectors to improve people’s lifestyle, better medical facilities, education, social business etc. He has over ten years of professional experiences in design and developing Client-Server, Multi-Tier, Database, Web based business software solutions, Enterprise Applications, API, WebAPI, Google Analytics implementation, Add-In, Documentation & Technical Writing etc for Windows / Mac using Microsoft SQL Server, Oracle, MySql, PS, C#, VB.NET, ASP.NET, PHP, RoR, Visual Basic etc. He has also more than two years experience in Mobile-VAS (Platform Development).
 
He worked for various software development & technology consulting. His core focus on technologies to create dynamic data-driven systems that add value to your business and dynamic technology consulting that builds advanced solutions for the industries across the various vertices.
 
He also work as a Solution Architect at Dhrupadi Techno Consortium Limited (DTCL) and responsible for analyzing business requirements and offered optimum solutions (multiple options), which would address all current requirements, provide flexibility for future growth and allow smooth transition between old system and new system.
 
He graduated with honors from The University of Asia Pacific, in Computer Science and Engineering. He was awarded as “Most Valuable Professional” (MVP) at 2010 and 2011 by CodeProject.com and also selected as a Mentor of CodeProject.com
 
Specialties: Software Development Management, System Integration, Data Warehouse Architecture, Virtualization.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5memberravikant.sharma0124 Jan '13 - 19:39 
GeneralMy vote of 5memberlittlepinkii26 Jun '12 - 17:53 
GeneralRe: My vote of 5mentorMd. Marufuzzaman26 Jun '12 - 19:41 
GeneralMy vote of 5memberRoberto Rangel13 Jun '12 - 5:47 
GeneralRe: My vote of 5mentorMd. Marufuzzaman26 Jun '12 - 12:13 
QuestionSuperbmembermohit_savita24 Mar '12 - 23:21 
AnswerRe: SuperbmentorMd. Marufuzzaman26 Jun '12 - 12:14 
GeneralMy vote of 1memberMel Padden20 Mar '12 - 4:34 
GeneralMy vote of 4memberPJ du Preez2 Oct '11 - 21:39 
GeneralRe: My vote of 4mvpMd. Marufuzzaman5 Oct '11 - 23:54 
GeneralMy vote of 2memberluisnike1931 Mar '11 - 11:36 
GeneralGood Onemembersashidhar25 Oct '09 - 19:37 
GeneralRe: Good OnegroupMd. Marufuzzaman29 Oct '09 - 3:38 
Thanks...Smile | :) Please let me know about the error..Thumbs Up | :thumbsup:
 
Thanks
Md. Marufuzzaman


Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
 
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

GeneralRe: Good Onemembersashidhar29 Oct '09 - 5:14 
GeneralMy vote of 1memberBrad Raulston24 Oct '09 - 5:48 
GeneralRe: My vote of 1groupMd. Marufuzzaman25 Oct '09 - 18:21 
GeneralRe: My vote of 1memberg0got216 Apr '10 - 2:30 
GeneralRe: My vote of 1mvpMd. Marufuzzaman16 Apr '10 - 3:16 
GeneralFix the Figure referencememberEd Bouras21 Oct '09 - 2:47 
GeneralRe: Fix the Figure referencegroupMd. Marufuzzaman23 Oct '09 - 21:46 
GeneralCoolmembergaurav_verma_mca20 Oct '09 - 22:33 
GeneralRe: CoolgroupMd. Marufuzzaman23 Oct '09 - 21:26 
GeneralA warning would be a good idea, or at least a link to MSmemberDean_DOT16 Oct '09 - 7:15 
GeneralRe: A warning would be a good idea, or at least a link to MSgroupMd. Marufuzzaman16 Oct '09 - 16:49 
GeneralRe: A warning would be a good idea, or at least a link to MSmemberMember 150309619 Oct '09 - 21:30 

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

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 24 Oct 2009
Article Copyright 2009 by Md. Marufuzzaman
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid