简体   繁体   中英

Convert .sdf database to .mdf database

I have this SQL Server CE database (with more tables and data) which I would like to convert to SQL 2008 because I want use it in Server (application need to used by many). I am using SQL 2008 express and C#.

Please suggest how I can do this.

Have you tried the Data Migration Wizard?

Anyhow, you might find this interesting: http://exportsqlce.codeplex.com/

Original source:

http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html

This tutorial should help you. It shows you how to convert .sdf to .cs object using SQLMetal.exe

也许一个好主意是试用微软(免费)工具,Sql Server Management Studio: http//www.microsoft.com/download/en/details.aspx?id = 7593

Microsoft WebMatrix uses Compact SQL (.sdf file) by default. In the Database view, if SQL SVR is installed, there is a Migrate to SQL Server top menu item. There is also a menu selection to install SQL Server. Both WebMatrix and (a version of) SQL SVR 2008 are free to install.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM