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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:47:10+00:00 2026-05-17T20:47:10+00:00

I have a SQL Server 2008 database (call it productionDB) that contains data and

  • 0

I have a SQL Server 2008 database (call it productionDB) that contains data and will be used in a production environment.

I have another SQL Server 2008 database (call it stagingDB) that is used in a staging environment.

The application that I am working on continues to evolve such that I am often making changes to the database schema (namely adding/editing tables and adding/editing stored procedures).

Up to this point, every time I have made changes to stagingDB I have generated scripts (via the SQL Server Scripts Wizard) that will drop/create all the schema. So, when I ran the scripts on the productionDB, it would successfully get updated to the updated schema, but all data that productionDB had would be lost – which has been fine, up til now.

Moving forward, I would like to generate scripts that will keep the existing data in productionDB as well as update its schema.

I cannot find an option(s) in the SQL Server Scripts Wizard that will do what I am describing.

Is the SQL Server Scripts Wizard capable of doing what I am looking for? If so, how?

  • 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-17T20:47:11+00:00Added an answer on May 17, 2026 at 8:47 pm

    I’m not really aware of any way in SQL Server to automatically do what you want, but you may find commercial applications (Such as those supplied by companies like RedGate) that do what you want, but it is a very complex subject matter and there will always be scenarios that can’t really be managed. I’ve always found a better scenario to script your modifications to Staging in such a way that they can be re-run against live. So you write scripts to amend the table structure – that way you maintain both the staging and live data when the scripts are run.

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

Sidebar

Related Questions

I have a SQL Server 2008 database that uses a default schema called Arxame.
I have a SQL Server 2008 database with 2 tables. These tables are defined
I have an SQL server 2008 database instance on one machine. Now I want
I have a SQL Server 2008 database with an Access front-end. My problem is
I have an Access 2003 project in which all data is stored in SQL
I have a table with a primary key (lets call it person), and another
Is there anything else that the code must do to sanitize identifiers (table, view,
I've converted a bunch of reports from Crystal Reports 7 to Crystal Reports 2008
This is a fairly specific issue, but I'm at a loss for reasons to
All, I'm currently in the process of attempting to create a repeatable process for

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.