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 6542755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:15:55+00:00 2026-05-25T11:15:55+00:00

I have used visual studio(vs2010) installer to restore a database backup file to the

  • 0

I have used visual studio(vs2010) installer to restore a database backup file to the target server.

Now my requirement is to create a patch that will update the database if required.These updates may be in form of addition of scripts etc.

If i will again take the updated .bak file and restore it on target server through installer,the existing data will be lost that client is using.

So i just want to create a patch which will install the newer changes only, say addition of new table in the database.

Please suggest way to do it.

Regards,

Shipra

  • 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-25T11:15:56+00:00Added an answer on May 25, 2026 at 11:15 am
    1. Somewhere in your database, store a version number.
    2. When your program is run, check the version number in the database.
    3. If the version number is not sufficient (e.g. version 3.0 is found but 3.1 is required), execute the SQL commands that update the database to the required version (e.g. CREATE TABLE, ALTER TABLE, …)

    That way, all you need to do is update your program. Yes, this means that you have to keep track of changes to your database schema. (Note that this solution requires that the user running the program has schema modification rights to the database.)

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

Sidebar

Related Questions

I have now gone over to Visual Studio 2010 Beta 2 I have used
I have used Visual Studio 2008 ASP.NET AccessDataSource Wizard to generate the update command.
Question ONE: I'm still pretty new to .net, but have used Visual Studio for
I have successfully used the Excel and Word addin templates in Visual studio 2008
As far as I remember, Visual Studio (both 2008 and 2010) used to have
I have been using Visual Studio Express versions. I used to use the full
What would a developer used to working in Visual Studio have to give up
I have used Specflow in Visual Studio 2010 Pro at work but would like
I have seen and used a rename feature in Visual Studio 2010. However when
I have always used the Visual Studio Dependencies option to ensure that, for example,

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.