As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'am building an application, which need to only record it's settings trough a database, so like I logged in with the name: "Mobstaa", it needs to fill the username textbox the next time I start up the application. There are a few other little settings like that, that needs to be stored in that Database.
Now I'am wondering if it is smart to use SQL Compact Edition, I read about a few disadventages of the compact edition, but I really don't want the users that will run my application need to install a very big SQL file for just a small application, does anybody know wether it is smart for me to use the SQL Compact Edition, or does anybody has a very good alternative for my problem?
if you really want only to store some settings and want to use a Database, i would suggest that you use SQLite. This db is much more lightweight than MS-SQL Compact Edition and it's an in-memory database, so you can ship the db within your product and don't have to install a seperate database on your computer.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am looking for programs which allows you to view a sql database in a GUI created with C#. The benefits of this would be you could create shortcuts to tables an ease of use for companies. However I can't seem to find anything on the internet about companies using a C# program to view databases.
Have anyone used a program which does this?
Is there a direction someone could point me in?
Many thanks.
You don't need to program anything. You have several options:
SQL Server Management Studio aka SSMS (Even SQL Server Express has it)
Visual Studio has a Server Explorer (Menu View\Server Explorer)
I think that option 1 or 2 is more than enough for you. If you want other alternatives you have LinqPad or Versabanq Squel. Check this question for alternatives.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to develop a mini application, but need to create database, i did't want to use sql, access or oracle because i just need 4 tables data. What is the best option for database storage? Desktop application.
Mongo db is a very light weight, very easy no-sql database, which is rather easy to learn and work with. It does require an instance running, I didn't check if you can have it embedded in your application but wouldn't be surprised if it's possible.
Check it out.
If you don't need SP's and you only need relational data (and not dealing with installation and dependency overhead) then you just reference SQL Server CE.
It's an embedded database and if you run C# it means that the Framework is there, and probably the SQL Server CE too, otherwise the install is very lightweight and can be included in your installer
Sqlite if you need relations and queries, ESENT if you don't.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working with C# and I want to develop desktop application that use a database. The final purpose is to embed my database file so I can instal the application in every single computer.
My questions are :
Is Microsoft SQL Server Compact Edition a viable solution for embedded database?
How to use it?
Can you give me some tutorials to deal with it?
Thank you, I'll really appreciate your answers.
"Yes"
Why? Because, like any good "embedded database", it doesn't require a separate installation. In addition, but not absolutely required, SQL Server CE runs in-process.
Other alternative include SQLite and Firebird (and many more); so the question is then, which database is right for you? (Which, ignoring a few technical differences, comes a good bit down to preference and preferred tooling ..)
For #2 and #3, please consult a book/tutorial/google first.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to write a media management Metro app for windows 8 and I want to store all my metadata for the app in a file based database that should only be usable by the app.
Ive already made a similar app for windows 7 and I used Sql Compact for the data but im not sure if sql compact is compatible with win8.
So what should I use for storing data in a Metro app?
I'm using IndexedDB, if you use Metro app javascript, no need third party libraries to accessed it. because Metro app javascrip using the same engine with IE10.
SQLITE is one I'm using with great success. It just exceeded my expectations. Very portable...
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing an application for windows mobile 6 and above that requires a local database.
I was wondering if anyone has any experience with database hosting on windows mobile and which database management system would be most suitable for development.
Thanks in advance,
Lloyd
I have used SqlServerCe as a local mini database for a WinMobile 6 application I've worked on. It is quite easy to use and gets automatically installed when you include the reference in Visual Studio.
Another option that seems popular is SQLite. For a comparison of the two look at this post: https://stackoverflow.com/questions/583278/sqlite-vs-sqlce-vs-in-a-mobile-application
This seems to be biased towards SQLite which I have not tried but I was happy with the performance of SqlServerCe for my application and it was sufficient.
SQL Server Compact Edition is widely used in Windows Mobile applications.
Another alternative is SQLite.
If you are not tied to RDBMS, you should try db4o, an embedded object oriented database with support for LINQ
I've used for some small applications Raima Database, and it proved to be reliable and fast, at least for our purposes.