0

Is that possible to create a database that's already included in the project and without opening the database application?

Because, I have to publish the system that I made.

lan smoke
  • 19
  • 2
  • Yes, [I have an example app with Sqlite](https://github.com/crowcoder/CSharpCrudGrid) – Crowcoder Mar 13 '18 at 16:02
  • But, I'm using MSSql server – lan smoke Mar 13 '18 at 16:05
  • 1
    So, what do you mean by "included"? You can't embed a MSSQL database in a project, it requires a server component. – Crowcoder Mar 13 '18 at 16:06
  • @Crowcoder what are those server components tho? – lan smoke Mar 13 '18 at 16:10
  • I'm having trouble understanding what you are actually trying to figure out. You mention "opening the database application". Do you mean SQL Server Management Studio where you run queries? Do you just need to know how to connect an application to a database server? – Crowcoder Mar 13 '18 at 16:13
  • See : https://www.tutorialspoint.com/ms_sql_server/ms_sql_server_overview.htm – PaulF Mar 13 '18 at 16:14

1 Answers1

1

I think that you might be interested by in-memory databases, It is treated here.

You could also have a remote database, giving the capacity to anyone with your application and appropriate credentials to connect to it.

If you are looking for a other alternative, you could also export the Scheme and/or Data of a database to a portable .sql file.

Antry
  • 448
  • 3
  • 9