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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:00:33+00:00 2026-05-28T02:00:33+00:00

I am creating an application for some user to maintain records in database. For

  • 0

I am creating an application for some user to maintain records in database. For this, I’ll have to write SQL query (C#) and create the database, if does not exist, when user starts/installs the application. To make the creation and backup procedure easier, I want to create a separate file for SQL Server that will be used to store data. This file will be included in installation pack and copied to the destination folder to be used by SQL Server.

I’ve seen that we can create such file but never used like this.
Is it possible to accomplish the job I am trying to do?

  • 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-28T02:00:34+00:00Added an answer on May 28, 2026 at 2:00 am

    i think that if each application have its own db you should use or SqlCe or SqlLite

    They are a self-contained, serverless, zero-configuration, transactional SQL database engine.

    So you don’t have to install sql express on every pc.
    They use a subset of tsql and you can do almost the same thing as sql server

    you could embed a file in the application with all the sql command to create the db and then execute it the first time the application start.

    Anyway you can distribute your app with the db already created and ready to use: it is just a .sdf file

    If you think to distribute your app with clickonce than Sqlce is better becouse clickonce recognize its file format and handle it during the application updates

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

Sidebar

Related Questions

I am creating a JSF application. I have some items (e.g. products) from database
Im creating an application, wich will conect to several sql database and get some
i creating an application with movie animation , i have a animation some group
I am developing an application that involves some sensitive user information. I retrieve this
I'm creating an air application that allows the user to create, edit and save
I'm currently creating an application using ASP.NET MVC. I got some user input inside
I am creating an application which requires login and enables user to configure some
I am creating an application which displays some messages and its directions in the
I am creating small django application which holds some few questions (and answers for
Was creating a simple console application to do some prototyping and was shocked to

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.