简体   繁体   English

将 SQL 服务器数据库转换为 SQL 服务器 CE?

[英]Convert SQL Server database to SQL Server CE?

I have a SQL Server database which I can read from, is there a quick way I can turn it into an SQL Server CE database through C# or will I have to read in all the data then output it in SQL Server CE.我有一个 SQL 服务器数据库,我可以从中读取,有没有一种快速的方法可以通过 C# 将它变成 SQL 服务器 CE 数据库,或者我必须读取所有数据然后 output 它在 SQL 服务器 CE 中。

You can use my SQL Server Compact scripting API, which will allow you to export a Server database to a script file, and run the resulting file against a SQL Server Compact database from your C# code.您可以使用我的 SQL Server Compact 脚本 API,这将允许您将服务器数据库导出到脚本文件,并根据 C# 代码针对 SQL Server Compact 数据库运行生成的文件。 http://exportsqlce.codeplex.com/wikipage?title=Scripting%20API%20samples&referringTitle=Documentation http://exportsqlce.codeplex.com/wikipage?title=Scripting%20API%20samples&referringTitle=Documentation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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