Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:21:40+00:00 2026-06-08T22:21:40+00:00

Preamble I was modifying a column in SQL Server 2008 today, changing the datatype

  • 0

Preamble

I was modifying a column in SQL Server 2008 today, changing the datatype from something like currency(18,0) to (19,2).

I got the error “The changes you have made require the following tables to be dropped and re-created” from SQL Server.

Before you scramble to answer, please read the following:

I already know there is the option in Tools ► Options ► Designer ► Table and Database Designers ► Uncheck the box “Prevent saving changes that require table re-creation.”
Prevent saving changes that require table re-creation in five clicks
…so do not answer with that!

Actual question

My actual question is for something else, as follows:

Are there any negative effects / possible drawbacks of doing this?

Does the table actually get dropped and recreated automatically when this box is unchecked?

If so, is the table copy a 100% exact replica of the source table?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:21:41+00:00Added an answer on June 8, 2026 at 10:21 pm

    The table is only dropped and re-created in cases where that’s the only way SQL Server’s Management Studio has been programmed to know how to do it.

    There are certainly cases where it will do that when it doesn’t need to, but there will also be cases where edits you make in Management Studio will not drop and re-create because it doesn’t have to.

    The problem is that enumerating all of the cases and determining which side of the line they fall on will be quite tedious.

    This is why I like to use ALTER TABLE in a query window, instead of visual designers that hide what they’re doing (and quite frankly have bugs) – I know exactly what is going to happen, and I can prepare for cases where the only possibility is to drop and re-create the table (which is some number less than how often SSMS will do that to you).

    Are there any negative effects / possible drawbacks of doing this?

    Sure. If you can script the change yourself without rebuilding the whole table, that’s better – consider the case where the table is 10TB, and the database is heavily logged (think sync AG, change tracking, replication, poorly-written triggers), and the table is highly accessed – that’s a potential recipe for disaster. If your change is something where you can apply an ONLINE hint or add a column and copy the data over in batches instead of all-or-nothing the GUI will do, this is better.

    Does the table actually get dropped and recreated automatically when this box is unchecked?

    It might. There is a laundry list of scenarios and the outcome is dependent on the version of SSMS, the version of SQL Server, and sometimes the edition. You can check by checking the box and trying to apply the change on a meaningless copy of the database first, but using actual ALTER TABLE scripts instead of the pointy-clicky GUI is the way to go IMHO.

    If so, is the table copy a 100% exact replica of the source table?

    Yes, if SSMS has to rebuild the table, it will be a 100% exact replica after it’s done (except for the change of course), but that could be next Wednesday. The process creates a new version of the table, copies all the data to it, then drop the old table and renames the new one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got Python code with a preamble containing the line: from numpy import array,arccosh,random_integers
I got this SQL code in a SP: (MS SQL 2008) DECLARE @type tinyint
Preamble: I'm creating some tables in SQL Server that will be accessed via Linq-to-entities
Preamble Using VTK library with C++, quite often I have to write something like
Preamble I have written GLR-parser with error recovery. When it encounters an error it
Preamble: I'm trying to learn C#/LINQ by creating a new application from an existing
I am getting this weird error in my development server when running my django
Preamble To build dynamic web-sites, we have to master at least four languages: HTML
Small preamble. I was good java developer on 1.4 jdk. After it I have
In the spirit of the Perl Preamble where a script works properly whether executed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.