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.
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.
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.
I hope that this might be helpful to you.
- 16th October 2009: Initial post
A highly experienced leader with successful track record of software development, product innovations, brand management and corporate communication etc. Some successful product innovations have also achieved and awards “Most Valuable Professional” (MVP) at 2010 and 2011 by codeproject.com and also selected as a mentor of codeproject.com. Published over 100 technical articles in various software development resource sites (i.e., codeprojetc.com, Microsoft MSDN, and IEEE & IBM (In progress)) and various IT Forums, Blogs etc.
Over ten years of professional experiences in ICT field having extensive experience in formulating corporate vision and long term strategy. Leading development related functions including design, development, services, data management and analytics, customer experience management, content services, digital analytics and optimization.
An individual with results-driven approach and relentless in pursuit of excellence from a business and organizational standpoint. Believes in transparency, commitment and teamwork.
Expertise: Software/Solution Architect, SaaS platform base application, Large scale win32/web based business software solutions, enterprise applications, integration, etc.
Technologies/Tools: Microsoft.Net version 05/08/10/12, Microsoft SQL Server version 7/2K/05/08/12 , Oracle version 10/11, MySql version 5.1, 5.5, PS2, Visual C#, R, VB.NET, ASP.NET, PHP, API, MVC, WebAPI , Add-In Visual Basic etc.,. I have also more than two years’ of strong experience in mobile-VAS (platform development).
Points of Interest: Technology and research & development especially focused on business functionalities and social business areas as well, few stuff including:
1.R&D on new techniques as required to increase business revenue.
2.Urban and rural sectors to improve people’s lifestyle, better medical facilities, education, social business etc., using innovative technical solutions.
3.Research and innovative product development.