Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Using SQL Express With Commerical Apps

Posted on 2007-10-04
Medium Priority
Last Modified: 2010-04-15
My expertise is in PHP and MySQL. However i am working through making a C# Program. This program is going to be run on a computer and i want to store the data locally. Since im used to MySQL and i like the advantages of databases over a flat file/xml file but I am unsure of if its possible.

I know that SQL Server Express from Microsoft is a free SQL server that is designed to run on a local machine and not as a large SQL server. What i am not sure of is if i can package SQL Server Express into an Application Installer and have it streamlined into the Install of my software, and if it is ok to do so legally. I would prefer to not have to tell people to Download it and set it up on their own as that is potetionally error prone and would instead prefer to streamline it into my Installer.

If i cannot do this, is Flat file/XML file my only other option?
Question by:dstufft

Assisted Solution

Colemss earned 600 total points
ID: 20014943
Look int a opensource db called firebird.  Works just like sql.
Has two configuration options server and local.  Local only requires a dll to run.


Sql express is free to distribute. I personally find it intrusive to install.
LVL 21

Accepted Solution

mastoo earned 1400 total points
ID: 20015231
The answer is probably yes if you don't mind registering with Microsoft for redistribution rights:


and I haven't used it but one of the "features" on SSE is a silent installation mode for embedded use.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question