I have a mdf file which is SQL Server 2008 file. I want to convert it to SQL Server Express or SQL Compact edition.
Is there any tool to convert it ?
For SQL Server - Express or Standard/Web/Developer - there is no difference in the file formats. Your MDF from your SQL Server 2008 will work on SQL Server 2008 (or 2008 R2) Express without any conversion or modification.
You can
.bak file) and restore it under SQL Server 2008 Expressor:
The SQL Server Compact Edition is quite a different story, though - it's made up of a single .SDF file and cannot be easily created from an existing SQL Server 2008 MDF/LDF set of files.... I would be interested myself if there are any useful tools out there to migrate data from SQL Server 2008 (MDF/LDF) to a SQL Server Compact Edition 4.0 (SDF) format...
Update: a quickie search found a few interesting candidates:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With