[英]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). 我有这个SQL Server CE数据库(有更多的表和数据),我想将其转换为SQL 2008,因为我想在Server中使用它(应用程序需要被许多人使用)。 I am using SQL 2008 express and C#.
我正在使用SQL 2008 express和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/ 无论如何,你可能会发现这很有趣: http : //exportsqlce.codeplex.com/
Original source: 原始来源:
http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html
也许一个好主意是试用微软(免费)工具,Sql Server Management Studio: http : //www.microsoft.com/download/en/details.aspx?id = 7593
Microsoft WebMatrix uses Compact SQL (.sdf file) by default. Microsoft WebMatrix默认使用Compact SQL(.sdf文件)。 In the Database view, if SQL SVR is installed, there is a Migrate to SQL Server top menu item.
在数据库视图中,如果安装了SQL SVR,则会有一个迁移到SQL Server顶部菜单项。 There is also a menu selection to install SQL Server.
还有一个菜单选择来安装SQL Server。 Both WebMatrix and (a version of) SQL SVR 2008 are free to install.
WebMatrix和(版本)SQL SVR 2008都可以免费安装。
You could use MSDeploy to migrate your database: 您可以使用MSDeploy迁移数据库:
http://erikej.blogspot.com/2011/03/migrate-sql-server-compact-database-to.html http://erikej.blogspot.com/2011/03/migrate-sql-server-compact-database-to.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.