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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:52:28+00:00 2026-05-20T04:52:28+00:00

At the financial company I work at there are various separated deployment environment, including

  • 0

At the financial company I work at there are various separated deployment environment, including a staging and production environment. The data exposed by the databases of these environments can be modified using an in-house developed application. Currently, such data modification can be applied to staging and production by anyone with the appropriate access rights. Auditing compliancy, however, requires that key personnel accepts changes within the staging environment, thereby pushing it to the production environment.

To achieve this we will provide this key personnel with a user interface, in which they can see the differences between a staging and production table and accept them at the press of a button.

---------    synch    ------------
|Staging| ----------> |Production|
---------      ^      ------------
               |
   Acceptance by key personnel

My question is: how would one best determine and/or store the differences between the two environment tables such that they can be pushed to production and (optionally) reverted when not accepted? So far I came up with two solutions: (1) compare two tables (or views of those tables) using sql scripts or tooling like Red Gate’s SQL Data Compare, or (2) store changes made to the staging table as diffs, similar to diffs used by version control systems.

For both solutions I have thought of various implications, which I will not mention in this question, as I do not want to steer your thought process too much.

  • 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-20T04:52:29+00:00Added an answer on May 20, 2026 at 4:52 am

    I would go with Red-Gate SQL Data Compare which I have been using successfully before in scenarios like you describe. Given SQL Data Compare you can easily create SQL-scripts that work in both directions (apply and remove). A nice SQL server feature to use is to create snapshots to compare towards (available in developer and enterprise editions).

    However there are some issues that I run into:

    • If the staging and production environments are not 100% equal data wise for the set of tables you need to stage, it all gets complicated. For example if the staging environment only contains a subset of the production data. Then some kind of additional logic is needed. Removal of the data becomes more complicated as well.
    • I find that some kind of help to keep track of what has been applied is of essence. Here could a tool like Liquibase be used. The main reason is to keep track of the version of schema as well as static data in the database.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm dealing with financial data, so there's a lot of it and it needs
The company I work for is writing software for financial organizations and this often
I work in a medium size financial company where all our applications talk to
The startup company I work in is facing a difficult technology decision these days.
I have modeled a company's financial data by subclassing Core Data Managed Objects (please
My company has been working on a Flex dashboard that displays realtime financial information.
Background The algorithm manipulates financial analytics. There are multiple lists of the same size
I've got some financial data to store and manipulate. Let's say I have 2
I need to extract financial price data from a binary file. This price data
I'm developing a new web-based financial application for our company that provides online real-time

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.