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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:31:07+00:00 2026-05-20T07:31:07+00:00

I have recently started a new job where they do most everything via Stored

  • 0

I have recently started a new job where they do most everything via Stored Procedures. We currently have a “deployment” folder under source control that contains timestamped folders with database change scripts (we actually have 3 folders under that – one for table modification scripts, one for views and functions, and one for sprocs), as well as a “Next” folder that has the new changes we are currently working on (it gets renamed when we do a deployment). We have three databases set up: a local copy on our workstation which is only accessible to the individual developer, a development DB and the live DB in production.

This means that we create and commit the .SQL files, and then have to manually run them on an almost daily basis (as new ones are added to source control, so pretty much every time we do an update we need to check what’s changed in those folders and run them against our local copy of the DB), not to mention having to do the same thing on the dev and prod servers when we do deployments; also we have the databases named differently on each server to avoid accidentally running a change script in the wrong environment (this strikes me as odd as typically you have the DB instance named differently but the actual database named identical across all your servers) so we cannot include the USE statements in the scripts. This process seems very inefficient.

Is there a recommended best practice way of handling this kind of thing that I could suggest we start using instead?

  • 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-20T07:31:07+00:00Added an answer on May 20, 2026 at 7:31 am

    I’ve been using a Visual Studio Database Project to handle this for about a year now. It’s got a little learning curve, and it’s not completely without hiccups, but it’s definitely better than trying to manage this process manually.

    As others have indicated, you should plan on factoring in a pretty heavy dose of “does it handle our situation” along with general best-practices. In my case, I’ve got multiple development branches that feed into an integration environment, along with some pretty restrictive DBA-type folks. Both of these have caused some complications along the way, and I expect you’ll run into stuff like this, too.

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

Sidebar

Related Questions

I have recently started a new job and noticed that all the SQL tables
HI all. I have started a new job recently where I am supposed to
I have recently started a new job in a company that depends heavily in
I have recently started using Vim as my text editor and am currently working
Iv'e recently started a new job as an ICT Technician and im creating an
I recently started at a new job where I'll be working with Sharepoint 2010
I have recently started a new C++ project and I intend to make it
I have recently started working on a legacy application that has most of its
I have recently started having problems with TortoiseCVS, or more specifically with plink, the
I have recently started working on a very large C++ project that, after completing

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.