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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:05:07+00:00 2026-05-12T11:05:07+00:00

Please excuse me, today is my first day trying to setup a CI environment

  • 0

Please excuse me, today is my first day trying to setup a CI environment using TeamCity. I’m developing an ASP.NET/Sql Server app and so far so good. MSBuild is my provider.

I’d like to know what the options are when it comes to automatically making sure changes to my local database are uploaded to the test server as part of the integration process. Now I’m not too sure I want to go in the direction of DBGhost to automatically sync schema changes, I’d be happy to just replace the database on the test server with a copy of my local database.

What are my options here?

edit: further investigation shows the RedGate SQL products are good for this. They arent cheap though. They have a nice whitepaper on using their products within a continuous integration process: http://downloads.red-gate.com/HelpPDF/ContinuousIntegrationForDatabasesUsingRedGateSQLTools.pdf

  • 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-12T11:05:07+00:00Added an answer on May 12, 2026 at 11:05 am

    First of all, I think your database should be included in your source control strategy. Basic principles to achieve this have been beautifully summed up in K. Scott Allen series. You can also check Evolutionary Database Design by Martin Fowler. And for more practical information, check the answers to How should you build your database from source control?.

    As I wrote in my answer, I maintain two sets of scripts : one set that can build the database from scratch, and one that can upgrade a given database from one version to the last. As part of a CI strategy :

    • The database on the CI server should be rebuilt from scratch using these scripts. You can then check that your scripts are in working condition.
    • In a perfect world, I should be able to perform an upgrade from version N-1 to version N of the database, and compare the obtained schema to the schema of the previous database. I am still working on it…
    • Test data should be injected in the database, allowing for unit testing of your application to be performed (you could use bcp for this).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

yes it's another .net regex question :) (please excuse the long waffle leading up
Please excuse any mistakes in terminology. In particular, I am using relational database terms.
please excuse me for simple question: i tried to write simple csv file using
Please excuse my english, I'm still trying to master it. I've started to learn
First question on StackOverflow, so please excuse me if I haven't done all the
I'm quite new to Rails, so please excuse any wildly inaccurate terminology. First, some
Please excuse if the question is dumb, I'm only 2nd day on Ant and
Please excuse the vague title. If anyone has a suggestion, please let me know!
Please excuse my ignorance on the topic, as I am relatively new to Hibernate
I'm new to python, so please excuse what is probably a pretty dumb question.

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.