SQL Server Compact
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
SQL Server Compact
Microsoft SQL Server Compact (SQL CE) is a compact 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. The latest release is the SQL Server Compact 3.5 SP1 supporting .NET Framework 3.5 as well as Windows Mobile 2003, 5.0 and 6.0. It includes both 32-bit and 64-bit native support[1]. SQL CE targets occasionally-connected applications and applications with an embedded database.[2] It is free to download as well as redistribute.[2]
OverviewSQL Server Compact shares a common API with the other Microsoft SQL Server editions.[3] It also includes ADO.NET providers for data access using ADO.NET APIs, and built-in synchronization capabilities,[2] as well as support for LINQ and Entity Framework. Future releases will unify the synchronization capabilities with Microsoft Synchronization Services.[4] Unlike other editions of Microsoft SQL Server, SQL CE runs in-process[4] with the application which is hosting it; while having a memory footprint of less than 2 MB;[2] however, all SQL CE instances share the same memory pool.[5] 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.[3] However, nested transactions are not supported, even though parallel transactions (on different tables) are.[6] The current release does not support stored procedures[3] or native XML data type either.[4] It uses a subset of T-SQL[2] for querying and due to lack of XML support, XQuery is not supported either.[4] Queries are processed by an optimizing query processor.[7] 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).[8] SQL CE databases can be created and managed from Microsoft Visual Studio and SQL Server Management Studio as well.[7] SQL CE databases reside in a single .sdf file,[9], which can be up to 4 GB in size.[3] The .sdf file can be encrypted with 128-bit encryption for data security.[9] 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.[5] 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. SQL Server Management Studio 2005 can read and modify CE 3.0 and 3.1 database files (with the latest service pack), but the SQL Server Management Studio 2008 from the "Katmai" 2008 CTP release (or later) is required to read version 3.5 files. The RTM of SQL Server Management Studio 2008 and Microsoft Visual Studio Express 2008 SP1 can create, modify and query CE 3.5 SP1 database files. Naming of the database file does not have to conform to the .sdf standard and any extension can be used. 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. See alsoReferencesExternal links
fr:Microsoft SQL Server ja:Microsoft SQL Server ru:Microsoft SQL Server Compact Edition Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement