Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is SQL Server Compact discontinued from Visual Studio 2013?

when I tried to create a new SQL Server Compact file from Visual Studio -> Add New Item, I don't see the 'Local Database' option any more which was actually the way to add SQL Server Compact Database. Now, if it is really discontinued from Microsoft, then, what is the recommended Embedded Database technology from Microsoft for Desktop Applications ? I tried SQLite but deployment is headache for SQLite because, the user may not have correct version of Visual C++ distributable installed in his/her machine.

like image 296
Emran Hussain Avatar asked Dec 03 '13 22:12

Emran Hussain


People also ask

Is SQL Server Compact deprecated?

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.

Is SQL Server Compact Edition free?

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.


2 Answers

Yes, SQL Server Compact has been deprecated (see the comments on this Connect item). You should be using SQL Server Express or SQL LocalDB. Some posts:

http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx

http://blogs.msdn.com/b/jerrynixon/archive/2012/02/26/sql-express-v-localdb-v-sql-compact-edition.aspx

http://erikej.blogspot.com/2011/01/comparison-of-sql-server-compact-4-and.html

http://erikej.blogspot.com/2012/07/the-state-and-near-future-of-sql-server.html

like image 133
Aaron Bertrand Avatar answered Sep 21 '22 18:09

Aaron Bertrand


Yes, it is missing from VS 2013, but you can do almost everything you need to do with SQLCE in VS 2013 by using my SQL Server Compact Toolbox addin. What are you missing?

like image 21
ErikEJ Avatar answered Sep 22 '22 18:09

ErikEJ