I'm wondering what the key differences between using a SQL Server Compact database (.sdf
) and a full fledged database like for example SQL Server Express are?
Are there any major performance issues, and if so, how big can the compact database get before starting to notice this?
When starting projects I find using a compact database a simple, straight forward and clean solution, when should I convert and move over to a dedicated database?
In February 2013, Microsoft announced that SQL Server Compact Edition had been deprecated. Although no new versions or updates are planned, Microsoft will continue to support SQL Compact through their standard lifecycle support policy. Extended support for SQL Server Compact 4.0 ended on July 13, 2021.
Microsoft SQL Server Compact 4.0 is a free, embedded database that software developers can use for building ASP.NET websites and Windows desktop applications.
SQL Server Compact 3.5 SP2 is an embedded database that allows developers to build robust applications for Windows desktops and mobile devices.
Lets try:
The big issue here is, that CE is only a file on your system and you get access through a simple InApp-call using a dll. Thats it and in many scenarios this is enough. Many people would say, that you can switch to SQLS later but I don't think so. It's a complete different world! CE is a single product in my eyes.
Remember, that you need to deploy the CE-DLL when you wan't to publish your app!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With