Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what database should i choose?

I use winforms to develop a desktop application, and right now I plan to use SQL server express, but the problem is, if i use sql server express, then the installation is much trouble, i need to install sql server first, and install my own applicaiton.

Then I tried to use access 2003 as my database, then I only need to copy the mdb file with my application. But the access 's function is not that strong, the text length is limited to 255 byte.

Is there any other database solution, which is easy to integrate to my application, and easy to install after i develop my application ?

Many many desktop application have their own database, and easy to install and easy to use, what database do they use ?

like image 684
MemoryLeak Avatar asked Dec 03 '22 13:12

MemoryLeak


2 Answers

SQLite. Extremely robust and easy to work with, and has C# bindings. It is now the most widely deployed embedded database. The DLL is under 300Kb.

like image 154
Alex Jenter Avatar answered Dec 23 '22 06:12

Alex Jenter


Use SQL Server Compact Edition (CE). It's free, and comes with Visual Studio. It's file-based, but can easily synchronize with a "real" SQL Server database.


I was going to post a list of links to SQL CE information, but I found too many good links with the following search: http://social.msdn.microsoft.com/Search/en-US?query=sql+server+compact+edition.

like image 44
John Saunders Avatar answered Dec 23 '22 08:12

John Saunders