FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/SQL_Server_Compact

SQL Server Compact

Contents
Support
File format
External links

Microsoft SQL Server Compact (SQL CE) is a discontinued relational database produced by Microsoft for applications that run on mobile devices and desktops. Prior to the introduction of the desktop platform, it was known as SQL Server for Windows CE and SQL Server Mobile Edition.

It includes both 32-bit and 64-bit native support. SQL CE targets occasionally connected applications and applications with an embedded database. It is free to download and redistribute. An ODBC driver for SQL CE does not exist, nor is one planned. Native applications may use SQL CE via OLE DB.

The latest, and last, release is SQL Server Compact 4.0. In February 2013 SQL Server Compact Edition had been deprecated; no new versions or updates are planned, although Microsoft continued to support the product until July 2021.

  • SQL Server 2000 Windows CE Edition 1.1
  • SQL Server CE 1.1
SQL CE 1.1 2001-03-21 SQL Server 2005 Mobile Edition SQL CE 3.0 2006-01-14 SQL Server 2005 Compact Edition SQL CE 3.1 2007-02-19 2016-04-12 SQL Server Compact 3.5 SQL CE 3.5 2008-02-19 2018-04-10 SQL Server Compact 4.0 SQL CE 4.0 2011-04-13 2021-07-13

Support

edit

SQL CE databases can support ACID-compliance, but do not meet the durability requirement by default because AutoFlush buffers changes in memory (including enlisted ambient transactions and explicit SQL CE transactions that do not override the Commit() call with an CommitMode.Immediate value). Therefore, committed transaction changes can be lost. To meet the durability requirement the commit call on the transaction must specify the immediate flag. Like Microsoft SQL Server, SQL CE supports transactions, referential integrity constraints, locking as well as multiple connections to the database store. However, nested transactions are not supported, even though parallel transactions (on different tables) are. The current release does not support stored procedures or native XML data type either. It uses a subset of T-SQL for querying and due to lack of XML support, XQuery is not supported either. Queries are processed by an optimizing query processor. SQL CE databases also support indexing, as well as support remote data replication (local caching of data in remote databases) and merge replication (bidirectional synchronization with master databases).

SQL CE databases can be created and managed from Microsoft Visual Studio and some older versions of SQL Server Management Studio as well.

File format

edit
.sdf</code>"},"mime":{"wt":""},"owner":{"wt":"[[Microsoft]]"},"creatorcode":{"wt":""},"genre":{"wt":"[[Relational database]]"},"containerfor":{"wt":""},"containedby":{"wt":""},"extendedfrom":{"wt":""},"extendedto":{"wt":""}},"i":0}}]}'>
SQL Server Compact
Filename extension
.sdf
Developed byMicrosoft
Type of formatRelational database

SQL CE databases reside in a single .sdf file, which can be up to 4 GB in size. The .sdf file can be encrypted with 128-bit encryption for data security. SQL CE runtime mediates concurrent multi-user access to the .sdf file. The .sdf file can simply be copied to the destination system for deployment, or be deployed through ClickOnce. SQL CE runtime has support for DataDirectories. Applications using an SQL CE database need not specify the entire path to an .sdf file in the ADO.NET connection string, rather it can be specified as |DataDirectory|\<database_name>.sdf, defining the data directory (where the .sdf database file resides) being defined in the assembly manifest for the application.

Setting a password for the database file is optional. The database can be compressed and repaired with the option of the compacted/repaired database to be placed into a new database file."SQL Server 2005 Compact Edition Datasheet". Archived from the original on 2007-03-16. Retrieved 2007-07-03.

  • 1 2 "SQL Server Everywhere: Just Another Database?". Retrieved 2007-07-03.
  • 1 2 "How do i run SQL Server Compact 3.5 on Windows 8 developer preview?". social.msdn.microsoft.com. Retrieved 11 March 2013.
  • ↑ "Microsoft Delivers Next Stage of .NET Solution For Enterprise Mobile Development". news.microsoft.com. 2002-09-16. Retrieved 2022-04-16.
  • ↑ "Maintaining Databases (SQL Server Compact Edition)". 28 June 2007.
  • ↑ "Overview of Databases (SQL Server Compact Edition)". Retrieved 2007-07-03.
  • 1 2 "Microsoft SQL Server Compact 4.0 Support Dates". Retrieved 2020-09-17.
  • External links

    edit
    Windows Mobile
    Versions
    Device software
    Desktop synchronization
    Services
    Server utilization
    Development
    Models
    HTC
    Samsung
    Other
    Microsoft development tools
    Development
    environments
    Visual Studio
    Others
    Languages
    APIs and
    frameworks
    Native
    .NET
    Device drivers
    Database
    SQL Server
    SQL services
    Other
    Source control
    Testing and
    debugging
    Delivery

    View original on Wikipedia | Back | FazBrowse Home