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

  • SEARCH
  • Home
  • 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 6255683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:24:41+00:00 2026-05-24T14:24:41+00:00

So I have a VS2010 Database Project that I am deploying, with a few

  • 0

So I have a VS2010 Database Project that I am deploying, with a few schema changes. I have one table in particular that the VSDBCMD insists on “rebuilding” i.e. rename->create->copy->drop

The only changes for this table are dropping some columns, which could be handled by the simply I dunno, dropping the columns. Normally I wouldn’t mind, except this particular table is called “Attachments” and weighs in at 15 gigs or so. Which takes a long time, locks up the database and fails locally, as I don’t have 15+ gigs free, and times out remotely in our testing environment.

Can anyone direct me to the rules VSDBCMD follows for changing the schema when it deploys?

Or perhaps you have experienced similar issues and have a suggestion?

Thanks!

  • 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-05-24T14:24:42+00:00Added an answer on May 24, 2026 at 2:24 pm

    VSDBCMD just ‘likes’ rebuilding tables too often, and I don’t have the ‘magic vsdbcmd manual’ for when it chooses to rebuild a table unfortunately, but I don’t trust the output of VSDBCMD on a production database anyway without manual checking first anyway.

    There’s a setting in the ‘dbname.sqldeployment’ file that allows the setting ‘IgnoreColumnOrder’ that might help prevent rebuilding the table (maybe it’s triggering the rebuild because the column index has changed).

    In your case I would just run a manually created script on your DB.

    Heck, writing ‘alter table Attachments drop column uselessData’ would’ve probably cost you 10% of the time you put into asking this question in the first place 🙂

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

Sidebar

Related Questions

I am working on a database project within VS2010. I have created a few
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
I have migrated a database project from VS2008 to VS2010. While in VS08, I
I have a database project in my vs2010 solution. The working database is installed
I am doing a project with VS2010 using C#. I have a local database
I have a database project in VS2010. I created it by connecting to an
I'm looking at the Database Project in VS2010, the idea being that I want
I have an app (ASP.NET 3.5/ VS 2010) that works with a database project.
I have a C++ project that uses IBPP to access a firebird database. I
I am using VS2010 premium, and I have a database project in my solution.

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.