Posts Tagged sql ce 4.0

SQL Server CE (compact Edition)

Good news for small application developers , Microsoft released compact version of SQLSERVER (SQLCE 4.0 CTP1 ) for desktop ,web as well as for mobiles.This embedded database format is a huge relief from cumbersome and hectic installation of sql server .Although this was from long back still its reliability and features introduced in 4.0 CTP1 is awesome.I would like to introduce the some review and remarks on it in a very short manner.

Sql Server Compact Edition(SQLCE) is a embedded database for Mobile,Desktop and Asp.Net based projects.

For Whom :

  • If you are going to develop small/Mid level office application.
  • If you want hassle free installation of Database (Copy and Paste option)

What is the Latest Version :

Latest Version : 4.00 CTP1 Download

Last Release : 3.5 SP 2 Download

Some Facts -:

  • Supports Data up to 4 GB.
  • File based code free Database
  • Supports concurrent multiple connection from .
  • Runs in process of Application (Other MS sql Editions used to have separate services)
  • SQL CE databases reside in a single .sdf file.
  • The .sdf files / Database can be password protected as well as encrypted.
  • SQL CE databases are ACID-compliant. Like Microsoft SQL Server,
  • SQL CE supports transactions, referential integrity constraints, locking as well as multiple connections to the database store

Advantages

  • Very Small footprint(2 to 2.05 MB).
  • File based Database with enhanced security option.
  • All you need is Copying of binary to your installation path.
  • Easily Upgradeable to higher versions (MSSQL Express etc..)

Limitations

  • Doesn’t support Stored Procedures, also they don’t have plan for it. Go through the nice article from Steve.Lasker Read it.

Just have a look at the detailed comparison matrix with sqlExpress Edition.

Feature
SQL Server Compact Edition
SQL Server
Express Edition
Deployment/Installation Features
Installation size 1.7mb download size

1.8mb expanded on disk

53.8mb download size

~197mb expanded on disk

ClickOnce deployment clip_image002 clip_image002[1]
Privately installed, embedded, with the application clip_image002[2] clip_image004
Non-admin installation option clip_image002[3] clip_image004[1]
Runs on Windows Mobile platform clip_image002[4] clip_image004[2]
Installed centrally with an MSI clip_image002[5] clip_image002[6]
Runs in-process with application clip_image002[7] clip_image004[3]
64-bit support clip_image002[8] clip_image002[9] Windows on Windows (WOW)
Runs as a service clip_image004[4] In process with the application clip_image002[10] N + 1
Data file features
File format Single file Multiple files
Data file storage on a network share clip_image002[11] clip_image004[5]
Support for different file extensions clip_image002[12] clip_image004[6]
Database size support 4GB 4GB
XML storage clip_image002[13] stored as nText clip_image002[14]
Code free, document safe, file format clip_image002[15] clip_image004[7]
Programmability
Transact-SQL
Common Query Features
clip_image002[16] clip_image002[17]
Procedural T-SQL

Select Case, If, features

clip_image004[8] clip_image002[18]
Remote Data Access (RDA) clip_image002[19] clip_image004[9]
ADO.NET Sync Framework clip_image002[20] clip_image004[10] Planed support with a future version
Subscriber for merge replication clip_image002[21] clip_image002[22]
Simple transactions clip_image002[23] clip_image002[24]
Distributed transactions clip_image004[11] clip_image002[25]
Native XML, XQuery/QPath clip_image004[12] clip_image002[26]
Stored procedures, views, triggers clip_image004[13] clip_image002[27]
Role-based security clip_image004[14] clip_image002[28]
Number of concurrent connections 256 Unlimited

, , ,

Leave a comment

Design a site like this with WordPress.com
Get started