Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible way to attach database to exe

I created a small application using C# winforms that uses SQL Server as a database.

Is there a way to attach the database to the exe file so I won't need to install SQL Server on all the machines that I want to run the program on?

like image 655
lisa Avatar asked Nov 30 '22 05:11

lisa


1 Answers

As far as I know, that's where SQL Server Compact comes into play.

Quoting the Wikipedia article:

Unlike other editions of Microsoft SQL Server, SQL CE runs in-process with the application which is hosting it; while having a memory footprint of less than 2 MB;

like image 198
Daniel Vassallo Avatar answered Dec 05 '22 07:12

Daniel Vassallo