Solved

SQL Server Express vs SQL Server Compact

Posted on 2012-03-17
5
334 Views
Last Modified: 2012-06-27
I've got 17 years' experience with VBA in MS Access. I've got a reasonable level of familiarity with using SQL server as the back end and Access as the front end.

But, I'm pretty knew to Visual Studio and I'm developing my first commercial application in it.

I'm faced with the decision of what DB to use for storing my data: SQL Server Express or SQL Server Compact.

My app will be:

Windows Desktop
Single User
Not likely to handle more than 100,000 records a year
Maybe 2 dozen tables

App will be delivered via download with an option of a shipped DVD.

What are the pros and cons of using each SQL Server version?

And, based on these requirements, can you recommend one clearly above the other?
0
Comment
Question by:Kaprice
5 Comments
 
LVL 17

Expert Comment

by:nepaluz
ID: 37733590
I'd definitely root for the compact edition (and go for the latest 4.0 since it supports both 32 and 64 bit applications) since your application is a single user.
Not sure about the number of records it can support, butwould think that 100,000 is not large in database terms.Some key features are:
SQL Server Compact Edition supports multiple connections up to the 256 connection limit.
SQL Server Compact Edition supports database files up to 4 GB.
SQL Server Compact Edition database engine does not run as a service
SQL Server Compact Edition is file based, which means that the connection string is a file path to the database (.sdf) file, that consists of seven DLLs that are approximately 1.4 MB.
Some useful links from Microsoft:
Using SQL Server Compact
How to: Deploy a SQL Server Compact Database with an Application
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 37733936
I hope you are asking for sql server 2008R2 exp edition that can give you more

but as the main idea - please check the details from this article:

Difference Between SQL Server Compact Edition and SQL Server Express edition
http://patelshailesh.com/index.php/difference-between-sql-server-compact-edition-and-sql-server-express-edition
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 37733937
on top of this - please check
SQL Server 2008R2 Express edition Features:

Features Supported by the Editions of SQL Server 2008 R2
http://msdn.microsoft.com/en-us/library/cc645993.aspx
0
 
LVL 38

Accepted Solution

by:
Aaron Tomosky earned 500 total points
ID: 37734081
The main issue with compact is no stored procs, an I think it's missing a bunch of tsql stuff.
Check out mssql2012. Compact is replaced with localdb which is the full express commandset but only one connection limit. Pretty cool.
0
 

Author Closing Comment

by:Kaprice
ID: 37735200
SQL Express 2012 is the perfect solution. It supports single file implementation, stored procedures, TSQL, and is lightweight.

Thanks so much!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now