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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:48:46+00:00 2026-05-15T21:48:46+00:00

Due to an employee quitting, I’ve been given a project that is outside my

  • 0

Due to an employee quitting, I’ve been given a project that is outside my area of expertise.

I have a product where each customer will have their own copy of a database. The UI for creating the database (licensing, basic info collection, etc) is being outsourced, so I was hoping to just have a single stored procedure they can call, providing a few parameters, and have the SP create the database. I have a script for creating the database, but I’m not sure the best way to actually execute the script.

From what I’ve found, this seems to be outside the scope of what a SP easily can do. Is there any sort of “best practice” for handling this sort of program flow?

  • 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-15T21:48:46+00:00Added an answer on May 15, 2026 at 9:48 pm

    Generally speaking, SQL scripts – both DML and DDL – are what you use for database creation and population. SQL Server has a command line interface called SQLCMD that these scripts can be run through – here’s a link to the MSDN tutorial.

    Assuming there’s no customization to the tables or columns involved, you could get away with using either attach/reattach or backup/restore. These would require that a baseline database exist – no customer data. Then you use either of the methods mentioned to capture the database as-is. Backup/restore is preferrable because attach/reattach requires the database to be offline. But users need to be sync’d before they can access the database.

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

Sidebar

Related Questions

Due to an incident a few months prior, thousands of author_ids have been deleted
Due to a number of constraints that I won't get into, I have to
I have a database that logs when an employee has attended a course and
I have been reluctant to spend much time learning Silverlight due to what I
Have some employee segmentation tasks that result in a large number of records (about
Due to weird domain/subdomain cookie issues that I'm getting, I'd like to know how
Note: Due to low reputation I can't post images so i have added the
Lets say you have two classes, Boss and Employee. There is a bidirectional many-to-many
We have heard the adage, Cost, schedule, quality: pick two. It has been my
I have SOA with a Employee service and a Travel Service. The travel service

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.