开发者

Moving data from SQL Compact to SQL Server 2008

I have created an .SDF file and inserted data into the SDF database file on a mobile device. I want to transform .SDF file to a SQL Server 2008 Database File but don't know how. Any pointers or suggestions would be appreciat开发者_StackOverflow中文版ed.


You cannot directly convert a SQL Compact database into a full SQL Server 2008 database, as they are structured completely different. And as far as I know you cannot use SSIS (SQL Server Integration Services) to copy data from the SQL Compact database to a SQL Server database (the other way round would be possible).

So the only real option seems to write some app that reads the data from the SQL Compact database and then inserts it into the SQL Server.


You can use http://exportsqlce.codeplex.com to script the database and run the script against a SQL Server database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜